Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 103.5 kB / 16.64 MB, free: 6.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 189.9 kB / 17.56 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8039/0.8039, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 0.4943 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.378, allocations: 78.56 MB / 0.571 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00446/0.3825, allocations: 3.113 MB / 0.5741 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.385, allocations: 1.705 MB / 0.5757 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.3852, allocations: 5.125 kB / 0.5757 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.3862, allocations: 321.6 kB / 0.576 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.3867, allocations: 192.7 kB / 0.5762 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.3872, allocations: 162.2 kB / 0.5764 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.3875, allocations: 319.8 kB / 0.5767 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.388, allocations: 271.1 kB / 0.5769 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3882, allocations: 137.3 kB / 0.5771 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.3885, allocations: 167 kB / 0.5772 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.3886, allocations: 20.62 kB / 0.5772 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.389, allocations: 241.4 kB / 0.5775 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3891, allocations: 107.4 kB / 0.5776 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3893, allocations: 121.3 kB / 0.5777 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.3897, allocations: 332.2 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3898, allocations: 3.375 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3898, allocations: 0.6094 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3898, allocations: 1.562 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009522/0.3907, allocations: 0.5409 MB / 0.5785 GB, free: 26.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3908, allocations: 14.53 kB / 0.5786 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.3916, allocations: 93.78 kB / 0.5786 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3919, allocations: 263.1 kB / 0.5789 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3919, allocations: 13.34 kB / 0.5789 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.392, allocations: 35.25 kB / 0.5789 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.3926, allocations: 378.4 kB / 0.5793 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3927, allocations: 1.375 kB / 0.5793 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.3927, allocations: 5.375 kB / 0.5793 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3928, allocations: 31.39 kB / 0.5793 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.3933, allocations: 306.6 kB / 0.5796 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3948, allocations: 1.53 MB / 0.5811 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.3953, allocations: 232.3 kB / 0.5814 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.3954, allocations: 117.9 kB / 0.5815 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.3956, allocations: 92.11 kB / 0.5816 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3956, allocations: 36.31 kB / 0.5816 GB, free: 24.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.444e-06/0.3956, allocations: 0 / 0.5816 GB, free: 24.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001243/0.3968, allocations: 0.7874 MB / 0.5824 GB, free: 23.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.3969, allocations: 56.31 kB / 0.5824 GB, free: 23.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.3971, allocations: 200.9 kB / 0.5826 GB, free: 23.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3971, allocations: 30.8 kB / 0.5826 GB, free: 23.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.3972, allocations: 166.7 kB / 0.5828 GB, free: 23.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3972, allocations: 62.67 kB / 0.5828 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.3973, allocations: 58.91 kB / 0.5829 GB, free: 23.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.3974, allocations: 331.9 kB / 0.5832 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3976, allocations: 112.4 kB / 0.5833 GB, free: 22.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3978, allocations: 169.5 kB / 0.5835 GB, free: 22.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3981, allocations: 300.1 kB / 0.5838 GB, free: 22.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3981, allocations: 1.156 kB / 0.5838 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006624/0.3988, allocations: 416.2 kB / 0.5842 GB, free: 22.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3988, allocations: 7.5 kB / 0.5842 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3988, allocations: 1.5 kB / 0.5842 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.3992, allocations: 98.61 kB / 0.5843 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.3995, allocations: 53.36 kB / 0.5843 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.4011, allocations: 1.882 MB / 0.5862 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.4013, allocations: 20.2 kB / 0.5862 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4014, allocations: 7.344 kB / 0.5862 GB, free: 20.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.4016, allocations: 158.1 kB / 0.5863 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.4016, allocations: 19.25 kB / 0.5864 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.4021, allocations: 292.9 kB / 0.5866 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4021, allocations: 3.375 kB / 0.5866 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.4021, allocations: 0.8438 kB / 0.5866 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4021, allocations: 3.938 kB / 0.5866 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.4029, allocations: 0.7109 MB / 0.5873 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4029, allocations: 1.375 kB / 0.5873 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.4032, allocations: 54.23 kB / 0.5874 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4032, allocations: 1.281 kB / 0.5874 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4032, allocations: 15.27 kB / 0.5874 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4033, allocations: 5.922 kB / 0.5874 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4033, allocations: 1.406 kB / 0.5874 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.4038, allocations: 0.5152 MB / 0.5879 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.4039, allocations: 120 kB / 0.588 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4039, allocations: 7 kB / 0.588 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4041, allocations: 9.328 kB / 0.5881 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.4041, allocations: 15.42 kB / 0.5881 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4042, allocations: 4.188 kB / 0.5881 GB, free: 19.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4043, allocations: 149.3 kB / 0.5882 GB, free: 19.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4043, allocations: 0 / 0.5882 GB, free: 19.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.4047, allocations: 65.97 kB / 0.5883 GB, free: 19.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.4048, allocations: 119.2 kB / 0.5884 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.4056, allocations: 444.2 kB / 0.5888 GB, free: 18.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4056, allocations: 5.375 kB / 0.5888 GB, free: 18.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4057, allocations: 116.7 kB / 0.5889 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.4061, allocations: 46.22 kB / 0.589 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4073, allocations: 0.7492 MB / 0.5897 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.4075, allocations: 0.7775 MB / 0.5905 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.4076, allocations: 20.88 kB / 0.5905 GB, free: 17.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4076, allocations: 4 kB / 0.5905 GB, free: 17.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00577/0.4134, allocations: 3.595 MB / 0.594 GB, free: 15.48 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)