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.001104/0.001104, allocations: 114.8 kB / 16.42 MB, free: 6.488 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.001131/0.001131, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.31/1.31, 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.002128/0.002128, allocations: 285.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.5008, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02132/0.5222, allocations: 17.18 MB / 0.7838 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.5331, allocations: 5.841 MB / 0.7895 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.535, allocations: 51.88 kB / 0.7896 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003812/0.5389, allocations: 1.306 MB / 0.7909 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.5414, allocations: 0.8284 MB / 0.7917 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.5448, allocations: 1.34 MB / 0.793 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004868/0.5497, allocations: 4.291 MB / 0.7972 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008758/0.5585, allocations: 6.797 MB / 0.8038 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.5612, allocations: 1.929 MB / 0.8057 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.5648, allocations: 2.287 MB / 0.8079 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.5659, allocations: 444 kB / 0.8083 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.568, allocations: 0.8506 MB / 0.8092 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002261/0.5703, allocations: 1.716 MB / 0.8108 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003147/0.5734, allocations: 1.763 MB / 0.8126 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006991/0.5804, allocations: 6.372 MB / 0.8188 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5805, allocations: 0 / 0.8188 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5805, allocations: 0 / 0.8188 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001831/0.5807, 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.008091/0.5888, allocations: 3.087 MB / 0.8218 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5888, allocations: 8.031 kB / 0.8218 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.5945, allocations: 1.113 MB / 0.8229 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.598, allocations: 1.631 MB / 0.8245 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.5982, allocations: 230.3 kB / 0.8247 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.5994, allocations: 292.4 kB / 0.825 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.6105, allocations: 5.306 MB / 0.8302 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/0.6106, allocations: 7.938 kB / 0.8302 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006536/0.6113, allocations: 127.9 kB / 0.8303 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002463/0.6116, allocations: 213.1 kB / 0.8305 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008476/0.6201, allocations: 4.755 MB / 0.8352 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/0.6483, allocations: 22.99 MB / 0.8576 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/0.6531, allocations: 3.187 MB / 0.8607 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.6545, allocations: 0.9173 MB / 0.8616 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.6547, allocations: 101.8 kB / 0.8617 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.6548, allocations: 51.09 kB / 0.8618 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.6548, allocations: 0 / 0.8618 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.003455/0.6583, allocations: 2.074 MB / 0.8638 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6584, allocations: 218.3 kB / 0.864 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.6601, allocations: 1.098 MB / 0.8651 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.854e-05/0.6603, allocations: 37.7 kB / 0.8651 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/0.6612, allocations: 1.281 MB / 0.8663 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.6615, allocations: 307.8 kB / 0.8666 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006565/0.6622, allocations: 351.1 kB / 0.867 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6623, allocations: 337.9 kB / 0.8673 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.6637, allocations: 0.8947 MB / 0.8682 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.6655, allocations: 1.519 MB / 0.8697 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.6685, allocations: 2.354 MB / 0.872 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/0.6685, allocations: 4.062 kB / 0.872 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003968/0.6725, allocations: 2.496 MB / 0.8744 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.6725, allocations: 12 kB / 0.8744 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/0.6726, allocations: 20.06 kB / 0.8744 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.821e-05/0.6726, allocations: 32 kB / 0.8745 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.6743, allocations: 463.1 kB / 0.8749 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-05/0.6743, allocations: 39.86 kB / 0.8749 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6761, allocations: 341.8 kB / 0.8753 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.6763, allocations: 83.92 kB / 0.8753 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00293/0.6792, allocations: 1.911 MB / 0.8772 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.681, allocations: 1.438 MB / 0.8786 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002695/0.6837, allocations: 2.194 MB / 0.8808 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.848e-05/0.6837, allocations: 4 kB / 0.8808 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.00363/0.6874, allocations: 2.331 MB / 0.883 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.6874, allocations: 15.98 kB / 0.8831 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.6874, allocations: 20 kB / 0.8831 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.6875, allocations: 28 kB / 0.8831 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.6889, allocations: 436 kB / 0.8835 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.999e-05/0.689, allocations: 43.8 kB / 0.8836 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.6906, allocations: 290.5 kB / 0.8838 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.6907, allocations: 75.98 kB / 0.8839 GB, free: 8.023 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.0004363/0.6911, allocations: 283.6 kB / 0.8842 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.6915, allocations: 102.9 kB / 0.8843 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.694, allocations: 1.56 MB / 0.8858 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.6941, allocations: 7.984 kB / 0.8858 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6941, allocations: 0 / 0.8858 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.6946, allocations: 323.6 kB / 0.8861 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.6949, allocations: 19.94 kB / 0.8861 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.696, allocations: 167.7 kB / 0.8863 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6961, allocations: 48.59 kB / 0.8863 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00243/0.6986, allocations: 1.925 MB / 0.8882 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002161/0.7007, allocations: 1.977 MB / 0.8901 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008051/0.7016, allocations: 0.6257 MB / 0.8908 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001165/0.7027, allocations: 0.7957 MB / 0.8915 GB, free: 124 kB / 0.6544 GB Notification: Performance of Backend: time 6.41e-07/0.7027, allocations: 0 / 0.8915 GB, free: 124 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005395/0.7081, allocations: 2.733 MB / 0.8942 GB, free: 13.39 MB / 0.67 GB Notification: Performance of SimCode: time 0.008455/0.7166, allocations: 4.506 MB / 0.8986 GB, free: 8.84 MB / 0.67 GB Notification: Performance of Templates: time 0.04576/0.7624, allocations: 28.25 MB / 0.9262 GB, free: 12.76 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)