Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, 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.001099/0.001099, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 66.09 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3055, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005614/0.3112, allocations: 4.332 MB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.3146, allocations: 2.389 MB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3148, allocations: 19.81 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3158, allocations: 342.2 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.3165, allocations: 350.5 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.3171, allocations: 291.4 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.3179, allocations: 0.8621 MB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.3183, allocations: 250 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.3186, allocations: 238.9 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.3189, allocations: 270.8 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.319, allocations: 16 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.3197, allocations: 0.5379 MB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3199, allocations: 123.6 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.3201, allocations: 230.7 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.3209, allocations: 0.7516 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3209, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3209, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3209, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001075/0.322, allocations: 0.7871 MB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.322, allocations: 12.03 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.3233, allocations: 176.1 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.3239, allocations: 404.5 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3239, allocations: 29.36 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.324, allocations: 40.3 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.3248, allocations: 0.6471 MB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3249, allocations: 11.88 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.3249, allocations: 15.98 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.325, allocations: 51.95 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.3257, allocations: 0.4921 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.3287, allocations: 3.778 MB / 1.084 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3304, allocations: 0.6288 MB / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3306, allocations: 182.5 kB / 1.085 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3307, allocations: 7.984 kB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.3307, allocations: 42.48 kB / 1.085 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.3307, allocations: 0 / 1.085 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002124/0.3328, allocations: 1.277 MB / 1.087 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.3329, allocations: 106.8 kB / 1.087 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.3333, allocations: 398.4 kB / 1.087 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3333, allocations: 29.7 kB / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3335, allocations: 283.4 kB / 1.087 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.258e-05/0.3336, allocations: 126.3 kB / 1.087 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3337, allocations: 98.09 kB / 1.088 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3338, allocations: 354.8 kB / 1.088 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.3341, allocations: 181 kB / 1.088 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.3345, allocations: 367.3 kB / 1.088 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/0.3351, allocations: 0.5874 MB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3351, allocations: 7.938 kB / 1.089 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001015/0.3362, allocations: 0.6752 MB / 1.09 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3362, allocations: 12 kB / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3362, allocations: 8 kB / 1.09 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.3365, allocations: 98.44 kB / 1.09 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.3369, allocations: 111.8 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.3398, allocations: 4.048 MB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3402, allocations: 31.97 kB / 1.094 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.3402, allocations: 24 kB / 1.094 GB, free: 14.6 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.3404, allocations: 205.6 kB / 1.094 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3405, allocations: 43.53 kB / 1.094 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008761/0.3414, allocations: 0.5266 MB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3414, allocations: 4 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3414, allocations: 0 / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3414, allocations: 4 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.3432, allocations: 1.287 MB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3432, allocations: 0 / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.3434, allocations: 67.89 kB / 1.096 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.3437, allocations: 86.45 kB / 1.096 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3437, allocations: 12 kB / 1.096 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.3467, allocations: 4.021 MB / 1.1 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3467, allocations: 8.25 kB / 1.1 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.3476, allocations: 0.7776 MB / 1.101 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.3478, allocations: 152.5 kB / 1.101 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.115e-05/0.3479, allocations: 19.94 kB / 1.101 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.3482, allocations: 27.91 kB / 1.101 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.3483, allocations: 23.97 kB / 1.101 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3483, allocations: 16 kB / 1.101 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002762/0.3486, allocations: 283.1 kB / 1.101 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3486, allocations: 0 / 1.101 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006364/0.3492, allocations: 120 kB / 1.101 GB, free: 6.328 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.3494, allocations: 120 kB / 1.102 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.3506, allocations: 0.7978 MB / 1.102 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3506, allocations: 4.062 kB / 1.102 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.3514, allocations: 0.5389 MB / 1.103 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.3523, allocations: 128.6 kB / 1.103 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3539, allocations: 1.081 MB / 1.104 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.3544, allocations: 0.8586 MB / 1.105 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.3547, allocations: 104.5 kB / 1.105 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.3548, allocations: 35.42 kB / 1.105 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3549, allocations: 0 / 1.105 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.01057/0.3654, allocations: 5.539 MB / 1.11 GB, free: 13.01 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)