Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 181.5 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205 MB / 0.5767 GB, free: 21.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007114/0.0007114, allocations: 90.36 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.000297, allocations: 15.02 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2186, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01522/0.2339, allocations: 16.75 MB / 0.9131 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008439/0.2424, allocations: 5.924 MB / 0.9189 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.244, allocations: 43.88 kB / 0.9189 GB, free: 45.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.247, allocations: 1.202 MB / 0.9201 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.2491, allocations: 0.7785 MB / 0.9209 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.252, allocations: 1.225 MB / 0.9221 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004718/0.2568, allocations: 6.495 MB / 0.9284 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008718/0.2655, allocations: 7.578 MB / 0.9358 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.2679, allocations: 1.327 MB / 0.9371 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.2708, allocations: 1.924 MB / 0.939 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0008273/0.2716, allocations: 191.9 kB / 0.9392 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.2735, allocations: 0.7215 MB / 0.9399 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.2753, allocations: 1.388 MB / 0.9412 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.2775, allocations: 1.384 MB / 0.9426 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005089/0.2826, allocations: 6.055 MB / 0.9485 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2826, allocations: 0 / 0.9485 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2826, allocations: 0 / 0.9485 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002073/0.2829, allocations: 0 / 0.9485 GB, free: 14.96 MB / 0.6042 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.005122/0.288, allocations: 2.482 MB / 0.9509 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.288, allocations: 8.031 kB / 0.9509 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.293, allocations: 1.145 MB / 0.952 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.2953, allocations: 1.596 MB / 0.9536 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2955, allocations: 222.4 kB / 0.9538 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/0.2958, allocations: 296.3 kB / 0.9541 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006754/0.3026, allocations: 5.304 MB / 0.9593 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.3027, allocations: 4 kB / 0.9593 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.3029, allocations: 127.9 kB / 0.9594 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.3031, allocations: 209.1 kB / 0.9596 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006318/0.3094, allocations: 4.775 MB / 0.9643 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02489/0.3344, allocations: 23.2 MB / 0.9869 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/0.3386, allocations: 3.192 MB / 0.99 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3398, allocations: 0.9119 MB / 0.9909 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.34, allocations: 109.7 kB / 0.991 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.34, allocations: 51.08 kB / 0.9911 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/0.34, allocations: 0 / 0.9911 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.00309/0.3431, allocations: 2.09 MB / 0.9931 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3432, allocations: 214.3 kB / 0.9933 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3446, allocations: 1.102 MB / 0.9944 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.3447, allocations: 37.7 kB / 0.9944 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/0.3455, allocations: 1.289 MB / 0.9957 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.3457, allocations: 295.9 kB / 0.996 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3459, allocations: 125.7 kB / 0.9961 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.346, allocations: 341.9 kB / 0.9964 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3473, allocations: 0.8861 MB / 0.9973 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.3489, allocations: 1.526 MB / 0.9988 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.3517, allocations: 2.362 MB / 1.001 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.3518, allocations: 8 kB / 1.001 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003482/0.3552, allocations: 2.504 MB / 1.004 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/0.3557, allocations: 0.6464 MB / 1.004 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.3557, allocations: 20 kB / 1.004 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/0.3558, allocations: 28 kB / 1.004 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.3573, allocations: 467.2 kB / 1.005 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/0.3573, allocations: 43.86 kB / 1.005 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.3587, allocations: 353.7 kB / 1.005 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.3588, allocations: 75.98 kB / 1.005 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.3589, allocations: 4 kB / 1.005 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/0.3625, allocations: 2.226 MB / 1.007 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.3626, allocations: 23.98 kB / 1.007 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.3626, allocations: 24 kB / 1.007 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.3639, allocations: 451.8 kB / 1.008 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.364, allocations: 43.8 kB / 1.008 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.365, allocations: 246.6 kB / 1.008 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3651, allocations: 75.98 kB / 1.008 GB, free: 14.19 MB / 0.6667 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.002041/0.3672, allocations: 1.273 MB / 1.009 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.3675, allocations: 94.88 kB / 1.009 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.3699, allocations: 1.575 MB / 1.011 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.3699, allocations: 7.984 kB / 1.011 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3699, allocations: 0 / 1.011 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.3705, allocations: 327.6 kB / 1.011 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.3706, allocations: 19.94 kB / 1.011 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/0.3716, allocations: 167.7 kB / 1.011 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3717, allocations: 48.59 kB / 1.012 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002468/0.3742, allocations: 1.941 MB / 1.013 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002088/0.3763, allocations: 1.988 MB / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007913/0.3771, allocations: 0.6296 MB / 1.016 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009934/0.3781, allocations: 0.7956 MB / 1.017 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of Backend: time 5.81e-07/0.3781, allocations: 0 / 1.017 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004801/0.3829, allocations: 2.734 MB / 1.019 GB, free: 2.527 MB / 0.6667 GB Notification: Performance of SimCode: time 0.008256/0.3912, allocations: 5.752 MB / 1.025 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.03814/0.4294, allocations: 26.04 MB / 1.05 GB, free: 2.82 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)