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.001784/0.001784, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001506/0.001506, allocations: 195.1 kB / 16.14 MB, free: 6.641 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 283 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 95.78 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1594, allocations: 89.16 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02099/0.1804, allocations: 17.07 MB / 0.7095 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009757/0.1902, allocations: 5.866 MB / 0.7152 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008902/0.1911, allocations: 47.81 kB / 0.7152 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.1942, allocations: 1.206 MB / 0.7164 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.196, allocations: 0.7824 MB / 0.7172 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.199, allocations: 1.235 MB / 0.7184 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006419/0.2054, allocations: 6.483 MB / 0.7247 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.2159, allocations: 7.62 MB / 0.7322 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.2184, allocations: 1.612 MB / 0.7337 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.2213, allocations: 2.337 MB / 0.736 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005358/0.2219, allocations: 320 kB / 0.7363 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.2236, allocations: 0.8465 MB / 0.7372 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.2252, allocations: 1.591 MB / 0.7387 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.227, allocations: 1.634 MB / 0.7403 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005684/0.2327, allocations: 6.268 MB / 0.7464 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2327, allocations: 0 / 0.7464 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2327, allocations: 0 / 0.7464 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.577e-05/0.2328, allocations: 0 / 0.7464 GB, free: 13.7 MB / 0.545 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.006187/0.239, allocations: 3.068 MB / 0.7494 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.239, allocations: 8.031 kB / 0.7494 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/0.2445, allocations: 1.129 MB / 0.7505 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.2475, allocations: 1.596 MB / 0.7521 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.2477, allocations: 234.3 kB / 0.7523 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.2482, allocations: 284.4 kB / 0.7526 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00919/0.2574, allocations: 5.307 MB / 0.7578 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/0.2575, allocations: 0 / 0.7578 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/0.2578, allocations: 124 kB / 0.7579 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.2581, allocations: 213 kB / 0.7581 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2837/0.5417, allocations: 4.748 MB / 0.7627 GB, free: 63.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.5653, allocations: 23.18 MB / 0.7854 GB, free: 45.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/0.5692, allocations: 3.177 MB / 0.7885 GB, free: 44.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5704, allocations: 0.9095 MB / 0.7894 GB, free: 43.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.5705, allocations: 112.5 kB / 0.7895 GB, free: 43.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5705, allocations: 48.19 kB / 0.7895 GB, free: 43.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/0.5706, allocations: 1.406 kB / 0.7895 GB, free: 43.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.002975/0.5735, allocations: 2.073 MB / 0.7915 GB, free: 42.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.5736, allocations: 227.9 kB / 0.7917 GB, free: 42.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.575, allocations: 1.092 MB / 0.7928 GB, free: 41.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.575, allocations: 41.58 kB / 0.7929 GB, free: 41.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.5755, allocations: 1.281 MB / 0.7941 GB, free: 40.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.5757, allocations: 303.5 kB / 0.7944 GB, free: 40.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/0.5762, allocations: 353.9 kB / 0.7947 GB, free: 40.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.5763, allocations: 342.9 kB / 0.7951 GB, free: 39.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.5774, allocations: 0.8895 MB / 0.7959 GB, free: 39.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5789, allocations: 1.517 MB / 0.7974 GB, free: 38.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.5813, allocations: 2.355 MB / 0.7997 GB, free: 36.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.5813, allocations: 14.53 kB / 0.7997 GB, free: 36.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003553/0.5848, allocations: 2.482 MB / 0.8021 GB, free: 35.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5849, allocations: 12.78 kB / 0.8022 GB, free: 35.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.5849, allocations: 23.34 kB / 0.8022 GB, free: 35.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.683e-05/0.585, allocations: 28.5 kB / 0.8022 GB, free: 35.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.5865, allocations: 464.3 kB / 0.8027 GB, free: 34.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.03e-05/0.5866, allocations: 39.8 kB / 0.8027 GB, free: 34.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.588, allocations: 342.6 kB / 0.803 GB, free: 34.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5881, allocations: 77.48 kB / 0.8031 GB, free: 34.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002445/0.5906, allocations: 1.902 MB / 0.8049 GB, free: 33.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001366/0.592, allocations: 1.444 MB / 0.8064 GB, free: 32.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002134/0.5941, allocations: 2.203 MB / 0.8085 GB, free: 30.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.5941, allocations: 7.844 kB / 0.8085 GB, free: 30.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003022/0.5972, allocations: 2.328 MB / 0.8108 GB, free: 29.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5972, allocations: 14 kB / 0.8108 GB, free: 29.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.5972, allocations: 19.5 kB / 0.8108 GB, free: 29.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.5973, allocations: 28.66 kB / 0.8109 GB, free: 29.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.5985, allocations: 444 kB / 0.8113 GB, free: 29.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/0.5986, allocations: 39.3 kB / 0.8113 GB, free: 29.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5999, allocations: 285.4 kB / 0.8116 GB, free: 29.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.79e-05/0.6, allocations: 79.36 kB / 0.8117 GB, free: 29.26 MB / 0.545 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.000336/0.6004, allocations: 288 kB / 0.8119 GB, free: 28.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.6006, allocations: 102.1 kB / 0.812 GB, free: 28.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.6025, allocations: 1.555 MB / 0.8135 GB, free: 28.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6025, allocations: 9.469 kB / 0.8136 GB, free: 28.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6025, allocations: 2.344 kB / 0.8136 GB, free: 28.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6025, allocations: 6.766 kB / 0.8136 GB, free: 28.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.6077, allocations: 4.5 MB / 0.818 GB, free: 25.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6077, allocations: 0 / 0.818 GB, free: 25.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/0.6086, allocations: 247.6 kB / 0.8182 GB, free: 24.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6086, allocations: 4 kB / 0.8182 GB, free: 24.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.6086, allocations: 20 kB / 0.8182 GB, free: 24.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6087, allocations: 4 kB / 0.8182 GB, free: 24.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6087, allocations: 7.938 kB / 0.8182 GB, free: 24.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.6102, allocations: 1.904 MB / 0.8201 GB, free: 22.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.6106, allocations: 327.7 kB / 0.8204 GB, free: 22.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.6107, allocations: 23.91 kB / 0.8204 GB, free: 22.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/0.6116, allocations: 119.7 kB / 0.8205 GB, free: 22.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6117, allocations: 56.47 kB / 0.8206 GB, free: 22.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.6118, allocations: 27.66 kB / 0.8206 GB, free: 22.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007557/0.6125, allocations: 0.7995 MB / 0.8214 GB, free: 21.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6125, allocations: 0 / 0.8214 GB, free: 21.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002632/0.6152, allocations: 1.304 MB / 0.8227 GB, free: 20.27 MB / 0.545 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.0001546/0.6153, allocations: 123.1 kB / 0.8228 GB, free: 20.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003278/0.6186, allocations: 2.978 MB / 0.8257 GB, free: 17.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6186, allocations: 0 / 0.8257 GB, free: 17.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006727/0.6193, allocations: 0.6569 MB / 0.8263 GB, free: 16.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6206, allocations: 189.3 kB / 0.8265 GB, free: 16.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.6264, allocations: 5.763 MB / 0.8322 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.6279, allocations: 2.21 MB / 0.8343 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00207/0.63, allocations: 1.1 MB / 0.8354 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.6303, allocations: 83.42 kB / 0.8355 GB, free: 7.086 MB / 0.545 GB Notification: Performance of SimCode: time 5.52e-07/0.6303, allocations: 0 / 0.8355 GB, free: 7.086 MB / 0.545 GB Notification: Performance of Templates: time 0.0264/0.6567, allocations: 15.35 MB / 0.8504 GB, free: 7.914 MB / 0.5606 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)