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.001264/0.001264, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001297/0.001297, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7291/0.7291, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.98 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1523, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01947/0.1718, allocations: 17.17 MB / 0.6495 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1825, allocations: 5.841 MB / 0.6552 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.1843, allocations: 55.88 kB / 0.6553 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.1881, allocations: 1.297 MB / 0.6565 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.1908, allocations: 0.8401 MB / 0.6573 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.1944, allocations: 1.336 MB / 0.6586 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005041/0.1995, allocations: 4.284 MB / 0.6628 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009036/0.2085, allocations: 6.809 MB / 0.6695 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.2118, allocations: 1.925 MB / 0.6714 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.2158, allocations: 2.291 MB / 0.6736 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.2172, allocations: 444 kB / 0.674 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.2196, allocations: 0.8506 MB / 0.6748 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002564/0.2221, allocations: 1.719 MB / 0.6765 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003713/0.2259, allocations: 1.759 MB / 0.6782 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007269/0.2332, allocations: 6.381 MB / 0.6845 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2332, allocations: 0 / 0.6845 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2332, allocations: 0 / 0.6845 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002162/0.2335, allocations: 3.984 kB / 0.6845 GB, free: 15.18 MB / 0.5294 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.009377/0.2428, allocations: 3.08 MB / 0.6875 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2429, allocations: 8.031 kB / 0.6875 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.2488, allocations: 1.117 MB / 0.6886 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.2527, allocations: 1.631 MB / 0.6902 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.253, allocations: 226.3 kB / 0.6904 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.2541, allocations: 292.4 kB / 0.6907 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.2661, allocations: 5.3 MB / 0.6959 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.29e-05/0.2662, allocations: 7.938 kB / 0.6959 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007263/0.2669, allocations: 128 kB / 0.696 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002668/0.2672, allocations: 205.1 kB / 0.6962 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008936/0.2761, allocations: 4.765 MB / 0.7008 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.3053, allocations: 22.99 MB / 0.7233 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/0.3098, allocations: 3.175 MB / 0.7264 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.3111, allocations: 0.9172 MB / 0.7273 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.3112, allocations: 109.7 kB / 0.7274 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3113, allocations: 55.14 kB / 0.7274 GB, free: 420 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.3113, allocations: 0 / 0.7274 GB, free: 420 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003104/0.3144, allocations: 2.07 MB / 0.7295 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.3145, allocations: 218.3 kB / 0.7297 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3161, allocations: 1.095 MB / 0.7307 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.3162, allocations: 45.64 kB / 0.7308 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/0.317, allocations: 1.288 MB / 0.732 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3173, allocations: 299.9 kB / 0.7323 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.3178, allocations: 351.1 kB / 0.7327 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3179, allocations: 341.9 kB / 0.733 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.3192, allocations: 0.8947 MB / 0.7339 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.3208, allocations: 1.511 MB / 0.7353 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.3237, allocations: 2.354 MB / 0.7376 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.3237, allocations: 4 kB / 0.7376 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003654/0.3274, allocations: 2.492 MB / 0.7401 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3274, allocations: 12.19 kB / 0.7401 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.3274, allocations: 24 kB / 0.7401 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/0.3275, allocations: 28 kB / 0.7401 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.329, allocations: 459.2 kB / 0.7406 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.001e-05/0.3291, allocations: 43.84 kB / 0.7406 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.3307, allocations: 353.7 kB / 0.7409 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.3308, allocations: 83.97 kB / 0.741 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002703/0.3335, allocations: 1.897 MB / 0.7429 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/0.335, allocations: 1.446 MB / 0.7443 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002452/0.3375, allocations: 2.198 MB / 0.7464 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.879e-05/0.3375, allocations: 8 kB / 0.7464 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003388/0.3409, allocations: 2.327 MB / 0.7487 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3409, allocations: 12 kB / 0.7487 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.341, allocations: 20 kB / 0.7487 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.341, allocations: 28.78 kB / 0.7488 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3424, allocations: 439.2 kB / 0.7492 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.844e-05/0.3425, allocations: 43.86 kB / 0.7492 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.344, allocations: 282.5 kB / 0.7495 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.3442, allocations: 79.98 kB / 0.7496 GB, free: 8.488 MB / 0.5919 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.0004672/0.3447, allocations: 295.5 kB / 0.7499 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.345, allocations: 94.88 kB / 0.75 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.3474, allocations: 1.552 MB / 0.7515 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.3474, allocations: 12 kB / 0.7515 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3474, allocations: 0 / 0.7515 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3475, allocations: 11.92 kB / 0.7515 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006619/0.3541, allocations: 4.473 MB / 0.7559 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3541, allocations: 0 / 0.7559 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009552/0.3551, allocations: 247.6 kB / 0.7561 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.3551, allocations: 8 kB / 0.7561 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.3551, allocations: 15.98 kB / 0.7561 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3552, allocations: 4 kB / 0.7561 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3552, allocations: 8 kB / 0.7561 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3728/0.728, allocations: 1.907 MB / 0.758 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007064/0.7287, allocations: 322.4 kB / 0.7583 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.7289, allocations: 22.03 kB / 0.7583 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7299, allocations: 124.4 kB / 0.7584 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7301, allocations: 55.98 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.7302, allocations: 23.95 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001272/0.7315, allocations: 0.7995 MB / 0.7593 GB, free: 115 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7315, allocations: 0.5 kB / 0.7593 GB, free: 115 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003304/0.7348, allocations: 1.299 MB / 0.7606 GB, free: 114.8 MB / 0.5919 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.000229/0.735, allocations: 128.8 kB / 0.7607 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005032/0.7401, allocations: 2.987 MB / 0.7636 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7401, allocations: 2.75 kB / 0.7636 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.741, allocations: 0.6593 MB / 0.7643 GB, free: 114 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.7425, allocations: 193.4 kB / 0.7644 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009196/0.7517, allocations: 4.989 MB / 0.7693 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/0.7551, allocations: 2.283 MB / 0.7715 GB, free: 110.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/0.7557, allocations: 106.7 kB / 0.7716 GB, free: 110.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.7557, allocations: 1 kB / 0.7716 GB, free: 110.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.03636/0.7921, allocations: 28.73 MB / 0.7997 GB, free: 92.33 MB / 0.5919 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)