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.001836/0.001836, allocations: 108.5 kB / 16.41 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.001762/0.001762, allocations: 188 kB / 17.34 MB, free: 5.727 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 284.8 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 0.995/0.995, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4836, allocations: 86.97 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02276/0.5064, allocations: 17.22 MB / 0.7839 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.5166, allocations: 5.849 MB / 0.7896 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.5177, allocations: 51.88 kB / 0.7896 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.5211, allocations: 1.32 MB / 0.7909 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.5234, allocations: 0.8363 MB / 0.7917 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.527, allocations: 1.345 MB / 0.793 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.5325, allocations: 4.299 MB / 0.7972 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006893/0.5394, allocations: 4.927 MB / 0.8021 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.5431, allocations: 1.933 MB / 0.8039 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.5471, allocations: 2.283 MB / 0.8062 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008792/0.548, allocations: 444 kB / 0.8066 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.5498, allocations: 0.8467 MB / 0.8074 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.5518, allocations: 1.77 MB / 0.8092 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.5543, allocations: 1.767 MB / 0.8109 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007113/0.5614, allocations: 6.388 MB / 0.8171 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5614, allocations: 4 kB / 0.8171 GB, free: 460 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5614, allocations: 0 / 0.8171 GB, free: 460 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000121/0.5615, allocations: 0 / 0.8171 GB, free: 460 kB / 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.006765/0.5683, allocations: 3.142 MB / 0.8202 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5683, allocations: 12.02 kB / 0.8202 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.5737, allocations: 1.127 MB / 0.8213 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.5775, allocations: 1.64 MB / 0.8229 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.5777, allocations: 226.3 kB / 0.8231 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005535/0.5782, allocations: 292.4 kB / 0.8234 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00887/0.5871, allocations: 5.307 MB / 0.8286 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.5872, allocations: 4 kB / 0.8286 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.5875, allocations: 124 kB / 0.8287 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002558/0.5878, allocations: 205.1 kB / 0.8289 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007888/0.5957, allocations: 4.759 MB / 0.8335 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.6264, allocations: 23.04 MB / 0.856 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004904/0.6313, allocations: 3.109 MB / 0.8591 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.6327, allocations: 0.8859 MB / 0.8599 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.6329, allocations: 101.7 kB / 0.86 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.6329, allocations: 55.16 kB / 0.8601 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.6329, allocations: 0 / 0.8601 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003467/0.6364, allocations: 2.075 MB / 0.8621 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.6365, allocations: 222.3 kB / 0.8623 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.6381, allocations: 1.095 MB / 0.8634 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.6382, allocations: 41.7 kB / 0.8634 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009705/0.6391, allocations: 1.333 MB / 0.8647 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.6394, allocations: 313.4 kB / 0.865 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.64, allocations: 355.3 kB / 0.8654 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6401, allocations: 345.9 kB / 0.8657 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.6415, allocations: 0.8947 MB / 0.8666 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.6434, allocations: 1.511 MB / 0.8681 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.6465, allocations: 2.358 MB / 0.8704 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.6465, allocations: 8 kB / 0.8704 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003886/0.6504, allocations: 2.488 MB / 0.8728 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.6504, allocations: 16 kB / 0.8728 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.6505, allocations: 16 kB / 0.8728 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.913e-05/0.6505, allocations: 28 kB / 0.8729 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.6521, allocations: 467.2 kB / 0.8733 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.039e-05/0.6522, allocations: 39.86 kB / 0.8733 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.6536, allocations: 354.7 kB / 0.8737 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.6538, allocations: 79.97 kB / 0.8738 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002858/0.6566, allocations: 1.899 MB / 0.8756 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001802/0.6584, allocations: 1.446 MB / 0.877 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002851/0.6613, allocations: 2.198 MB / 0.8792 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.17e-05/0.6613, allocations: 8 kB / 0.8792 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003661/0.665, allocations: 2.329 MB / 0.8814 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.665, allocations: 18.19 kB / 0.8815 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.665, allocations: 16 kB / 0.8815 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.665, allocations: 32 kB / 0.8815 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.6665, allocations: 435.2 kB / 0.8819 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-05/0.6665, allocations: 39.86 kB / 0.882 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.668, allocations: 291.1 kB / 0.8822 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6681, allocations: 87.97 kB / 0.8823 GB, free: 9.676 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.0004003/0.6685, allocations: 287.6 kB / 0.8826 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.6688, allocations: 103.3 kB / 0.8827 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.6714, allocations: 1.552 MB / 0.8842 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6714, allocations: 16 kB / 0.8842 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6714, allocations: 0 / 0.8842 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.6714, allocations: 11.92 kB / 0.8842 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007378/0.6788, allocations: 4.47 MB / 0.8886 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6788, allocations: 8 kB / 0.8886 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6798, allocations: 251.5 kB / 0.8889 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.6799, allocations: 8 kB / 0.8889 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.6799, allocations: 16 kB / 0.8889 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.6799, allocations: 4 kB / 0.8889 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6799, allocations: 4 kB / 0.8889 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.6824, allocations: 1.917 MB / 0.8908 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.683, allocations: 324.2 kB / 0.8911 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.6831, allocations: 20 kB / 0.8911 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009164/0.6841, allocations: 119.8 kB / 0.8912 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.6842, allocations: 64.5 kB / 0.8913 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.6843, allocations: 20 kB / 0.8913 GB, free: 324 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001213/0.6855, allocations: 0.7995 MB / 0.8921 GB, free: 15.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6855, allocations: 3.938 kB / 0.8921 GB, free: 15.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003444/0.6889, allocations: 1.323 MB / 0.8934 GB, free: 14.19 MB / 0.67 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.0002379/0.6892, allocations: 131 kB / 0.8935 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00485/0.694, allocations: 2.827 MB / 0.8962 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.694, allocations: 0 / 0.8962 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/0.695, allocations: 0.6281 MB / 0.8969 GB, free: 10.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.6965, allocations: 202 kB / 0.897 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.7047, allocations: 4.582 MB / 0.9015 GB, free: 5.781 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.707, allocations: 2.202 MB / 0.9037 GB, free: 3.543 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002513/0.7095, allocations: 1.101 MB / 0.9047 GB, free: 2.438 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.7098, allocations: 95.41 kB / 0.9048 GB, free: 2.344 MB / 0.67 GB Notification: Performance of SimCode: time 1.593e-06/0.7098, allocations: 0 / 0.9048 GB, free: 2.344 MB / 0.67 GB Notification: Performance of Templates: time 0.03034/0.7402, allocations: 16.46 MB / 0.9209 GB, free: 2.016 MB / 0.6856 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)