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.001309/0.001309, allocations: 105.2 kB / 17.03 MB, free: 5.656 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.001222/0.001222, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.261/1.261, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6828/0.6828, allocations: 115.1 MB / 406.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01862/0.3436, allocations: 17.16 MB / 0.5743 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009257/0.3529, allocations: 5.845 MB / 0.58 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.3547, allocations: 54.12 kB / 0.5801 GB, free: 21.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.3579, allocations: 1.305 MB / 0.5814 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.3604, allocations: 0.8304 MB / 0.5822 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.3642, allocations: 1.338 MB / 0.5835 GB, free: 19.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.3706, allocations: 4.287 MB / 0.5877 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009245/0.3799, allocations: 6.806 MB / 0.5943 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.3828, allocations: 1.913 MB / 0.5962 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.3855, allocations: 2.295 MB / 0.5984 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004674/0.386, allocations: 444 kB / 0.5988 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.3874, allocations: 0.8506 MB / 0.5997 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.3885, allocations: 1.708 MB / 0.6013 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.39, allocations: 1.767 MB / 0.6031 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.3944, allocations: 6.373 MB / 0.6093 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3944, allocations: 4 kB / 0.6093 GB, free: 15.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3944, allocations: 4 kB / 0.6093 GB, free: 15.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001474/0.3946, allocations: 0 / 0.6093 GB, free: 15.41 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.006274/0.4009, allocations: 3.076 MB / 0.6123 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4009, allocations: 8.031 kB / 0.6123 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.4057, allocations: 1.117 MB / 0.6134 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.4093, allocations: 1.635 MB / 0.615 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.4094, allocations: 226.4 kB / 0.6152 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.41, allocations: 296.3 kB / 0.6155 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/0.4188, allocations: 5.307 MB / 0.6207 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.4189, allocations: 11.94 kB / 0.6207 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.4192, allocations: 124 kB / 0.6208 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.4195, allocations: 201.1 kB / 0.621 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007985/0.4274, allocations: 4.765 MB / 0.6257 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03017/0.4577, allocations: 22.98 MB / 0.6481 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.4622, allocations: 3.183 MB / 0.6512 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.4634, allocations: 0.9134 MB / 0.6521 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4636, allocations: 105.7 kB / 0.6522 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4636, allocations: 51.16 kB / 0.6523 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.4636, allocations: 0 / 0.6523 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.00317/0.4668, allocations: 2.078 MB / 0.6543 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4669, allocations: 218.3 kB / 0.6545 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4684, allocations: 1.102 MB / 0.6556 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/0.4685, allocations: 37.7 kB / 0.6556 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008536/0.4694, allocations: 1.285 MB / 0.6569 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.4697, allocations: 299.9 kB / 0.6571 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.4702, allocations: 351.1 kB / 0.6575 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4703, allocations: 345.9 kB / 0.6578 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.4715, allocations: 0.8908 MB / 0.6587 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4732, allocations: 1.519 MB / 0.6602 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.4759, allocations: 2.354 MB / 0.6625 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.476, allocations: 4 kB / 0.6625 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003521/0.4795, allocations: 2.488 MB / 0.6649 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4795, allocations: 16.77 kB / 0.6649 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.4796, allocations: 20 kB / 0.6649 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/0.4796, allocations: 32.03 kB / 0.665 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.4811, allocations: 459.2 kB / 0.6654 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.524e-05/0.4812, allocations: 39.86 kB / 0.6654 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.4826, allocations: 345.7 kB / 0.6658 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.4827, allocations: 79.98 kB / 0.6658 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00251/0.4852, allocations: 1.905 MB / 0.6677 GB, free: 156 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001491/0.4867, allocations: 1.435 MB / 0.6691 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002539/0.4893, allocations: 2.206 MB / 0.6713 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.136e-05/0.4893, allocations: 4 kB / 0.6713 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003418/0.4927, allocations: 2.331 MB / 0.6735 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4928, allocations: 12 kB / 0.6736 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.4928, allocations: 20 kB / 0.6736 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.4928, allocations: 28 kB / 0.6736 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.4942, allocations: 443.9 kB / 0.674 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-05/0.4943, allocations: 43.8 kB / 0.6741 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4956, allocations: 286.5 kB / 0.6743 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4957, allocations: 75.98 kB / 0.6744 GB, free: 8.723 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.0003755/0.4961, allocations: 284.2 kB / 0.6747 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.4964, allocations: 98.88 kB / 0.6748 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.4987, allocations: 1.564 MB / 0.6763 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4987, allocations: 8 kB / 0.6763 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4987, allocations: 7.984 kB / 0.6763 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4988, allocations: 7.922 kB / 0.6763 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0074/0.5062, allocations: 4.466 MB / 0.6807 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5062, allocations: 4 kB / 0.6807 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/0.5072, allocations: 251.5 kB / 0.6809 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.5072, allocations: 4 kB / 0.6809 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.5073, allocations: 20 kB / 0.6809 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.5073, allocations: 4 kB / 0.681 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5073, allocations: 3.984 kB / 0.681 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.5099, allocations: 1.916 MB / 0.6828 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/0.5107, allocations: 319.7 kB / 0.6831 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.5108, allocations: 19.89 kB / 0.6832 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/0.5117, allocations: 123.8 kB / 0.6833 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.5118, allocations: 52.53 kB / 0.6833 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.5119, allocations: 20 kB / 0.6833 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001039/0.5129, allocations: 0.7995 MB / 0.6841 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5129, allocations: 4 kB / 0.6841 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003425/0.5164, allocations: 1.302 MB / 0.6854 GB, free: 13.28 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.0002245/0.5166, allocations: 127 kB / 0.6855 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004541/0.5212, allocations: 2.982 MB / 0.6884 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5212, allocations: 1.875 kB / 0.6884 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009509/0.5221, allocations: 0.6519 MB / 0.6891 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.5236, allocations: 211.7 kB / 0.6893 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.5311, allocations: 4.505 MB / 0.6937 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.5331, allocations: 2.214 MB / 0.6958 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002243/0.5354, allocations: 1.097 MB / 0.6969 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.5357, allocations: 87.42 kB / 0.697 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.5357, allocations: 0 / 0.697 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.02597/0.5617, allocations: 15.84 MB / 0.7125 GB, free: 1.617 MB / 0.545 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)