Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005775/0.005775, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001409/0.00141, allocations: 188.2 kB / 16.67 MB, free: 5.973 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 275.1 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 95.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1606, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.3457/0.5063, allocations: 17.17 MB / 0.7831 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007482/0.5139, allocations: 5.845 MB / 0.7889 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006625/0.5145, allocations: 53.22 kB / 0.7889 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.5172, allocations: 1.298 MB / 0.7902 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.5185, allocations: 0.8335 MB / 0.791 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.5209, allocations: 1.346 MB / 0.7923 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.5242, allocations: 4.284 MB / 0.7965 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007344/0.5316, allocations: 6.791 MB / 0.8031 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.5348, allocations: 1.918 MB / 0.805 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.5383, allocations: 2.285 MB / 0.8072 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007008/0.539, allocations: 445.2 kB / 0.8076 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.5406, allocations: 0.8475 MB / 0.8085 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.5424, allocations: 1.723 MB / 0.8102 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.5446, allocations: 1.757 MB / 0.8119 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007335/0.5519, allocations: 6.399 MB / 0.8181 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.552, allocations: 0 / 0.8181 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.552, allocations: 1.125 kB / 0.8181 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001307/0.5521, allocations: 0 / 0.8181 GB, free: 6.609 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006074/0.5582, allocations: 3.141 MB / 0.8212 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5582, allocations: 10.47 kB / 0.8212 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.5632, allocations: 1.135 MB / 0.8223 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.5658, allocations: 1.637 MB / 0.8239 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.566, allocations: 223.7 kB / 0.8241 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/0.5665, allocations: 298.8 kB / 0.8244 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00798/0.5745, allocations: 5.314 MB / 0.8296 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.469e-05/0.5745, allocations: 5.219 kB / 0.8296 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.5749, allocations: 122.2 kB / 0.8297 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/0.5751, allocations: 202.6 kB / 0.8299 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006811/0.5819, allocations: 4.764 MB / 0.8346 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.6042, allocations: 23.03 MB / 0.8571 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/0.6083, allocations: 3.179 MB / 0.8602 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.6095, allocations: 0.9212 MB / 0.8611 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.6096, allocations: 101.7 kB / 0.8612 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6097, allocations: 55.16 kB / 0.8612 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.6097, allocations: 0 / 0.8612 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.002934/0.6126, allocations: 2.082 MB / 0.8632 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.6127, allocations: 218.3 kB / 0.8634 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.614, allocations: 1.098 MB / 0.8645 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.6141, allocations: 41.7 kB / 0.8646 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006793/0.6148, allocations: 1.325 MB / 0.8659 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.615, allocations: 317.4 kB / 0.8662 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005132/0.6155, allocations: 359.3 kB / 0.8665 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6156, allocations: 341.9 kB / 0.8668 GB, free: 10 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.6169, allocations: 0.8947 MB / 0.8677 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.6184, allocations: 1.511 MB / 0.8692 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.6211, allocations: 2.354 MB / 0.8715 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.6211, allocations: 7.938 kB / 0.8715 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003377/0.6245, allocations: 2.492 MB / 0.8739 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6245, allocations: 12 kB / 0.8739 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.6245, allocations: 20 kB / 0.8739 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.6246, allocations: 28 kB / 0.874 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.6261, allocations: 459.8 kB / 0.8744 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/0.6261, allocations: 39.86 kB / 0.8744 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6275, allocations: 358.3 kB / 0.8748 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.6277, allocations: 75.98 kB / 0.8749 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002455/0.6301, allocations: 1.905 MB / 0.8767 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00145/0.6316, allocations: 1.442 MB / 0.8781 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002397/0.634, allocations: 2.194 MB / 0.8803 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.588e-06/0.634, allocations: 8 kB / 0.8803 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003107/0.6371, allocations: 2.332 MB / 0.8826 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6371, allocations: 12 kB / 0.8826 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6372, allocations: 20 kB / 0.8826 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.6372, allocations: 28 kB / 0.8826 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.6385, allocations: 451.1 kB / 0.883 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/0.6386, allocations: 39.86 kB / 0.8831 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.6399, allocations: 295.2 kB / 0.8834 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.64, allocations: 79.98 kB / 0.8834 GB, free: 7.855 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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 prepare postOptimizeDAE: time 0.0002841/0.6403, allocations: 288.2 kB / 0.8837 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.6406, allocations: 103.3 kB / 0.8838 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6428, allocations: 1.556 MB / 0.8853 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.6428, allocations: 12 kB / 0.8853 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6429, allocations: 0 / 0.8853 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6429, allocations: 11.92 kB / 0.8854 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006399/0.6493, allocations: 4.47 MB / 0.8897 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6493, allocations: 4 kB / 0.8897 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/0.6502, allocations: 251.6 kB / 0.89 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.6503, allocations: 8 kB / 0.89 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.6503, allocations: 12 kB / 0.89 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.6503, allocations: 4 kB / 0.89 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6503, allocations: 4 kB / 0.89 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.6524, allocations: 1.913 MB / 0.8919 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.6529, allocations: 332.1 kB / 0.8922 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.6531, allocations: 20 kB / 0.8922 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.6539, allocations: 119.8 kB / 0.8923 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.6541, allocations: 56.47 kB / 0.8924 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.6542, allocations: 24 kB / 0.8924 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001021/0.6552, allocations: 0.7995 MB / 0.8932 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6552, allocations: 0 / 0.8932 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003599/0.6588, allocations: 1.323 MB / 0.8945 GB, free: 12.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (85): * Single equations (assignments): 85 * 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.0002087/0.659, allocations: 131.1 kB / 0.8946 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.6636, allocations: 2.979 MB / 0.8975 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6636, allocations: 4 kB / 0.8975 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.6645, allocations: 0.6516 MB / 0.8981 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.6659, allocations: 221.1 kB / 0.8983 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/0.6741, allocations: 4.582 MB / 0.9028 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.6767, allocations: 2.202 MB / 0.905 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002574/0.6793, allocations: 1.105 MB / 0.9061 GB, free: 452 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.6797, allocations: 95.36 kB / 0.9061 GB, free: 356 kB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.6797, allocations: 0 / 0.9061 GB, free: 356 kB / 0.6544 GB Notification: Performance of Templates: time 0.02814/0.7078, allocations: 16.32 MB / 0.9221 GB, free: 148 kB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)