Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.267/2.267, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 197.1 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 98 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 56.98 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2374, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00338/0.2408, allocations: 2.699 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.2435, allocations: 1.406 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2437, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.2445, allocations: 163.4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.2448, allocations: 127.6 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.2452, allocations: 171.2 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.2455, allocations: 315.1 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.2458, allocations: 129 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2459, allocations: 71.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2462, allocations: 111.6 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2462, allocations: 8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.2466, allocations: 223.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.2467, allocations: 59.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.2468, allocations: 75.61 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.2471, allocations: 297.2 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2472, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2472, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2472, allocations: 4 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007471/0.2479, allocations: 464.4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.248, allocations: 11.98 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.2485, allocations: 60.67 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2487, allocations: 232 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2487, allocations: 8.656 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.2488, allocations: 20.38 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.2491, allocations: 281.6 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2491, allocations: 3.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2492, allocations: 15.94 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.2492, allocations: 20.22 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.2495, allocations: 212.5 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.2507, allocations: 1.568 MB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.2511, allocations: 323.3 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.2512, allocations: 61.69 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2512, allocations: 4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2512, allocations: 38.5 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.2512, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0005057/0.2517, allocations: 252.4 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2518, allocations: 77.11 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2519, allocations: 195.5 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.2519, allocations: 25.7 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.252, allocations: 159.9 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.252, allocations: 43.45 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.2521, allocations: 45.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.2522, allocations: 326.8 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.2523, allocations: 72.75 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2524, allocations: 156.8 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.2526, allocations: 238.9 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2526, allocations: 4 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002932/0.2529, allocations: 261.1 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2529, allocations: 7.938 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2529, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.253, allocations: 7.938 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2532, allocations: 52.28 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2532, allocations: 12 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.2533, allocations: 11.98 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2533, allocations: 12.05 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001278/0.2535, allocations: 164.1 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.557e-05/0.2536, allocations: 145 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001633/0.2537, allocations: 215.7 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.2538, allocations: 0 / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002566/0.254, allocations: 237.2 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.254, allocations: 15.92 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.254, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.254, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2542, allocations: 48.33 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2542, allocations: 15.92 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2543, allocations: 12 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2543, allocations: 8 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 5.842e-05/0.2544, allocations: 196.1 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.2545, allocations: 15.81 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.2547, allocations: 147 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2547, allocations: 3.938 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2547, allocations: 0 / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2547, allocations: 8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.2554, allocations: 0.7196 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2554, allocations: 4.125 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.2555, allocations: 27.98 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2555, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2555, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.2555, allocations: 7.938 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2555, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.256, allocations: 0.9846 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.256, allocations: 116.8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2561, allocations: 11.94 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2562, allocations: 11.92 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.2563, allocations: 8 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2563, allocations: 12 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.974e-05/0.2564, allocations: 148.1 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2564, allocations: 0 / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006427/0.257, allocations: 68 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001205/0.2571, allocations: 108.5 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.2575, allocations: 272.5 kB / 1.232 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2575, allocations: 0 / 1.232 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.2575, allocations: 61.41 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.258, allocations: 32.11 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.2586, allocations: 0.6154 MB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2587, allocations: 0.7363 MB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.2589, allocations: 78 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.259, allocations: 19.44 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.259, allocations: 0 / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of Templates: time 0.003548/0.2625, allocations: 1.736 MB / 1.236 GB, free: 98.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)