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.001542/0.001542, allocations: 119.3 kB / 16.42 MB, free: 6.496 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.001772/0.001773, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.002099, allocations: 294.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5356, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02152/0.5572, allocations: 17.18 MB / 0.7838 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5678, allocations: 5.838 MB / 0.7895 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.5695, allocations: 55.88 kB / 0.7896 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.5734, allocations: 1.297 MB / 0.7909 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.5758, allocations: 0.8479 MB / 0.7917 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.5793, allocations: 1.337 MB / 0.793 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.5841, allocations: 4.303 MB / 0.7972 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008461/0.5926, allocations: 6.793 MB / 0.8038 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.5957, allocations: 1.929 MB / 0.8057 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.5995, allocations: 2.287 MB / 0.8079 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.6006, allocations: 448 kB / 0.8084 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.6028, allocations: 0.8467 MB / 0.8092 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002233/0.6051, allocations: 1.719 MB / 0.8109 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.6077, allocations: 1.755 MB / 0.8126 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006079/0.6138, allocations: 6.38 MB / 0.8188 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.6139, allocations: 0 / 0.8188 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6139, allocations: 0 / 0.8188 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001419/0.614, allocations: 0 / 0.8188 GB, free: 14.71 MB / 0.5919 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.006517/0.6206, allocations: 3.088 MB / 0.8218 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6206, allocations: 8.031 kB / 0.8218 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.6259, allocations: 1.109 MB / 0.8229 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.6296, allocations: 1.635 MB / 0.8245 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.6298, allocations: 226.4 kB / 0.8247 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006154/0.6304, allocations: 292.3 kB / 0.825 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00919/0.6396, allocations: 5.307 MB / 0.8302 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.6397, allocations: 0 / 0.8302 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000347/0.64, allocations: 128 kB / 0.8303 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002281/0.6403, allocations: 209.1 kB / 0.8305 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007884/0.6482, allocations: 4.759 MB / 0.8352 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02847/0.6767, allocations: 22.99 MB / 0.8576 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/0.6815, allocations: 3.191 MB / 0.8607 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.683, allocations: 0.9173 MB / 0.8616 GB, free: 116 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.6832, allocations: 109.7 kB / 0.8617 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6833, allocations: 43.22 kB / 0.8618 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.6833, allocations: 0 / 0.8618 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.0035/0.6868, allocations: 2.074 MB / 0.8638 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6869, allocations: 218.2 kB / 0.864 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.6888, allocations: 1.102 MB / 0.8651 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.6889, allocations: 41.7 kB / 0.8651 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009472/0.6899, allocations: 1.277 MB / 0.8664 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.6902, allocations: 308 kB / 0.8667 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006762/0.6909, allocations: 347.1 kB / 0.867 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6911, allocations: 345.9 kB / 0.8673 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.6926, allocations: 0.8908 MB / 0.8682 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.6944, allocations: 1.515 MB / 0.8697 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.6974, allocations: 2.358 MB / 0.872 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.6975, allocations: 4 kB / 0.872 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003948/0.7014, allocations: 2.484 MB / 0.8744 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.7015, allocations: 16.81 kB / 0.8744 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.7015, allocations: 20 kB / 0.8744 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.121e-05/0.7016, allocations: 32 kB / 0.8745 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.7032, allocations: 467.2 kB / 0.8749 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.794e-05/0.7033, allocations: 39.86 kB / 0.875 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.7049, allocations: 341.8 kB / 0.8753 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.7051, allocations: 83.92 kB / 0.8754 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002886/0.708, allocations: 1.907 MB / 0.8772 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001644/0.7097, allocations: 1.446 MB / 0.8786 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002659/0.7123, allocations: 2.198 MB / 0.8808 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.609e-05/0.7124, allocations: 8 kB / 0.8808 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003605/0.716, allocations: 2.324 MB / 0.8831 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.716, allocations: 12 kB / 0.8831 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.716, allocations: 20 kB / 0.8831 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.7161, allocations: 28 kB / 0.8831 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.7177, allocations: 439.2 kB / 0.8835 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.496e-05/0.7177, allocations: 44.38 kB / 0.8836 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.7193, allocations: 286.5 kB / 0.8839 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7195, allocations: 75.98 kB / 0.8839 GB, free: 8.031 MB / 0.6544 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.0003702/0.7198, allocations: 287.6 kB / 0.8842 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.7202, allocations: 98.88 kB / 0.8843 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.7227, allocations: 1.556 MB / 0.8858 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.7227, allocations: 7.984 kB / 0.8858 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.7227, allocations: 0 / 0.8858 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.7234, allocations: 331.5 kB / 0.8861 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.7236, allocations: 15.94 kB / 0.8862 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7247, allocations: 167.7 kB / 0.8863 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.7249, allocations: 52.59 kB / 0.8864 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002494/0.7274, allocations: 1.929 MB / 0.8882 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00213/0.7295, allocations: 1.969 MB / 0.8902 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008181/0.7303, allocations: 0.6218 MB / 0.8908 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001081/0.7314, allocations: 0.7995 MB / 0.8916 GB, free: 132 kB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.7314, allocations: 0 / 0.8916 GB, free: 132 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005209/0.7366, allocations: 2.732 MB / 0.8942 GB, free: 13.4 MB / 0.67 GB Notification: Performance of SimCode: time 0.007837/0.7445, allocations: 4.505 MB / 0.8986 GB, free: 8.852 MB / 0.67 GB Notification: Performance of Templates: time 0.04469/0.7892, allocations: 28.25 MB / 0.9262 GB, free: 12.77 MB / 0.7012 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)