Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001122/0.001122, allocations: 104.2 kB / 16.52 MB, free: 6.27 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.001203/0.001203, allocations: 196 kB / 17.44 MB, free: 5.887 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4321, allocations: 76.16 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01885/0.451, allocations: 17.07 MB / 0.573 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.4612, allocations: 5.866 MB / 0.5788 GB, free: 21.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.4635, allocations: 44.44 kB / 0.5788 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.4669, allocations: 1.203 MB / 0.58 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.4704, allocations: 0.782 MB / 0.5808 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.4745, allocations: 1.233 MB / 0.582 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007597/0.4821, allocations: 6.491 MB / 0.5883 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.4924, allocations: 7.633 MB / 0.5958 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.4951, allocations: 1.605 MB / 0.5973 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.4981, allocations: 2.345 MB / 0.5996 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005189/0.4986, allocations: 316 kB / 0.5999 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.5002, allocations: 0.8465 MB / 0.6007 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.5014, allocations: 1.602 MB / 0.6023 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.5029, allocations: 1.614 MB / 0.6039 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.5067, allocations: 5.48 MB / 0.6092 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5067, allocations: 0 / 0.6092 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5067, allocations: 3.938 kB / 0.6092 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.5069, allocations: 4 kB / 0.6092 GB, free: 14.43 MB / 462.1 MB 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.007484/0.5144, allocations: 3.072 MB / 0.6122 GB, free: 11.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5144, allocations: 12.03 kB / 0.6123 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.5195, allocations: 1.117 MB / 0.6133 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.5227, allocations: 1.596 MB / 0.6149 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.5229, allocations: 230.3 kB / 0.6151 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006388/0.5236, allocations: 292.4 kB / 0.6154 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.5337, allocations: 5.3 MB / 0.6206 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/0.5338, allocations: 11.94 kB / 0.6206 GB, free: 2.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.5342, allocations: 120 kB / 0.6207 GB, free: 2.484 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.5344, allocations: 213.1 kB / 0.6209 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008159/0.5426, allocations: 4.763 MB / 0.6256 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.5731, allocations: 23.17 MB / 0.6482 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004751/0.5779, allocations: 3.176 MB / 0.6513 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.5793, allocations: 0.9134 MB / 0.6522 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.5795, allocations: 109.7 kB / 0.6523 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.5796, allocations: 51.08 kB / 0.6523 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.5796, allocations: 0 / 0.6523 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.003502/0.5831, allocations: 2.074 MB / 0.6544 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5833, allocations: 218.2 kB / 0.6546 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.5851, allocations: 1.099 MB / 0.6556 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.5852, allocations: 41.7 kB / 0.6557 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008826/0.5861, allocations: 1.289 MB / 0.6569 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.5864, allocations: 299.9 kB / 0.6572 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006132/0.5871, allocations: 355 kB / 0.6576 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5872, allocations: 341.9 kB / 0.6579 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.5887, allocations: 0.8908 MB / 0.6588 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.5906, allocations: 1.519 MB / 0.6602 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.594, allocations: 2.35 MB / 0.6625 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.594, allocations: 8 kB / 0.6625 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004324/0.5983, allocations: 2.488 MB / 0.665 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.5984, allocations: 16.16 kB / 0.665 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/0.5984, allocations: 20 kB / 0.665 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/0.5985, allocations: 28 kB / 0.665 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.6002, allocations: 467.2 kB / 0.6655 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.955e-05/0.6003, allocations: 39.86 kB / 0.6655 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.602, allocations: 341.8 kB / 0.6658 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.6022, allocations: 87.97 kB / 0.6659 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003254/0.6055, allocations: 1.905 MB / 0.6678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001817/0.6073, allocations: 1.442 MB / 0.6692 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002929/0.6103, allocations: 2.198 MB / 0.6713 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-05/0.6103, allocations: 4 kB / 0.6713 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003956/0.6143, allocations: 2.328 MB / 0.6736 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6143, allocations: 16 kB / 0.6736 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.6143, allocations: 20 kB / 0.6736 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.6144, allocations: 28.78 kB / 0.6737 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.6159, allocations: 435.2 kB / 0.6741 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.135e-05/0.6159, allocations: 43.86 kB / 0.6741 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6175, allocations: 282.5 kB / 0.6744 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.6178, allocations: 79.98 kB / 0.6745 GB, free: 7.605 MB / 0.5137 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.0004492/0.6183, allocations: 295.5 kB / 0.6748 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.6186, allocations: 98.78 kB / 0.6749 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.6214, allocations: 1.56 MB / 0.6764 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.6214, allocations: 8 kB / 0.6764 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6214, allocations: 8 kB / 0.6764 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6214, allocations: 7.922 kB / 0.6764 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008069/0.6295, allocations: 4.486 MB / 0.6808 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6295, allocations: 0 / 0.6808 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6306, allocations: 243.6 kB / 0.681 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.6306, allocations: 8 kB / 0.681 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.6307, allocations: 19.98 kB / 0.681 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.6307, allocations: 4 kB / 0.681 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.6307, allocations: 11.94 kB / 0.6811 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.6333, allocations: 1.911 MB / 0.6829 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.6339, allocations: 315.7 kB / 0.6832 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.6341, allocations: 16 kB / 0.6832 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6352, allocations: 119.8 kB / 0.6834 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.6354, allocations: 64.45 kB / 0.6834 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.6355, allocations: 20 kB / 0.6834 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001242/0.6367, allocations: 0.7995 MB / 0.6842 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6367, allocations: 0 / 0.6842 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004023/0.6407, allocations: 1.309 MB / 0.6855 GB, free: 12.12 MB / 0.5294 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.0002419/0.641, allocations: 124.6 kB / 0.6856 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004795/0.6458, allocations: 2.976 MB / 0.6885 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6458, allocations: 4 kB / 0.6885 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6469, allocations: 0.6561 MB / 0.6892 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6485, allocations: 193.9 kB / 0.6893 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.6592, allocations: 6.264 MB / 0.6955 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.6618, allocations: 2.274 MB / 0.6977 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/0.6624, allocations: 111.4 kB / 0.6978 GB, free: 15.45 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.6624, allocations: 0 / 0.6978 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Templates: time 0.04349/0.7059, allocations: 28.56 MB / 0.7257 GB, free: 3.008 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)