Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001193/0.001193, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 292.3 MB / 0.5495 GB, free: 17.39 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 67.91 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.266, allocations: 114.5 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.5156/0.7817, allocations: 16.01 MB / 0.7997 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008786/0.7906, allocations: 4.853 MB / 0.8045 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.7929, allocations: 68.84 kB / 0.8045 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.7961, allocations: 1.04 MB / 0.8055 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.7991, allocations: 0.7439 MB / 0.8063 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004494/0.8036, allocations: 0.9129 MB / 0.8072 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006693/0.8103, allocations: 3.62 MB / 0.8107 GB, free: 35.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009212/0.8196, allocations: 4.808 MB / 0.8154 GB, free: 33.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.8231, allocations: 1.577 MB / 0.8169 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.8268, allocations: 1.777 MB / 0.8187 GB, free: 32.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.8284, allocations: 343.6 kB / 0.819 GB, free: 32.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.8316, allocations: 0.8017 MB / 0.8198 GB, free: 31.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003512/0.8352, allocations: 1.321 MB / 0.8211 GB, free: 31.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006093/0.8413, allocations: 1.457 MB / 0.8225 GB, free: 30.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.8526, allocations: 5.129 MB / 0.8275 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.8527, allocations: 0 / 0.8275 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8527, allocations: 0.6562 kB / 0.8275 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000256/0.853, allocations: 1.5 kB / 0.8275 GB, free: 28.88 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.01353/0.8665, allocations: 2.649 MB / 0.8301 GB, free: 27.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8666, allocations: 9.594 kB / 0.8301 GB, free: 27.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.8724, allocations: 0.8282 MB / 0.8309 GB, free: 27.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/0.8775, allocations: 1.504 MB / 0.8324 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.8778, allocations: 176 kB / 0.8325 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.8797, allocations: 241.2 kB / 0.8328 GB, free: 26.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.895, allocations: 4.16 MB / 0.8368 GB, free: 24.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.8952, allocations: 2.484 kB / 0.8368 GB, free: 24.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001332/0.8966, allocations: 99.08 kB / 0.8369 GB, free: 24.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.8969, allocations: 173.8 kB / 0.8371 GB, free: 24.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.9078, allocations: 3.636 MB / 0.8406 GB, free: 23.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.9352, allocations: 16.42 MB / 0.8567 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.9386, allocations: 2.3 MB / 0.8589 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009447/0.9396, allocations: 0.5714 MB / 0.8595 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.9397, allocations: 98.45 kB / 0.8596 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.9398, allocations: 46.91 kB / 0.8596 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.437e-06/0.9398, allocations: 0.75 kB / 0.8596 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.007635/0.9474, allocations: 3.429 MB / 0.863 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.9475, allocations: 120.4 kB / 0.8631 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.9495, allocations: 1.011 MB / 0.8641 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.9495, allocations: 41.17 kB / 0.8641 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/0.9504, allocations: 1.101 MB / 0.8652 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.9507, allocations: 273.9 kB / 0.8654 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/0.9514, allocations: 278.7 kB / 0.8657 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.9516, allocations: 415.6 kB / 0.8661 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.9528, allocations: 0.6177 MB / 0.8667 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.9546, allocations: 1.189 MB / 0.8679 GB, free: 488 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.9577, allocations: 1.859 MB / 0.8697 GB, free: 15.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.143e-05/0.9578, allocations: 5.812 kB / 0.8697 GB, free: 15.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004354/0.9621, allocations: 2.02 MB / 0.8717 GB, free: 13.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.9622, allocations: 12.38 kB / 0.8717 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.482e-05/0.9623, allocations: 19.25 kB / 0.8717 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.9628, allocations: 164.3 kB / 0.8718 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9641, allocations: 346.9 kB / 0.8722 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-05/0.9642, allocations: 43.67 kB / 0.8722 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.9658, allocations: 125.8 kB / 0.8723 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.966, allocations: 71.83 kB / 0.8724 GB, free: 13.68 MB / 0.67 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002536/0.9686, allocations: 0.9732 MB / 0.8734 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/0.9691, allocations: 113.5 kB / 0.8735 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.9716, allocations: 1.226 MB / 0.8747 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.9716, allocations: 13.44 kB / 0.8747 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.9716, allocations: 8 kB / 0.8747 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.9716, allocations: 3.984 kB / 0.8747 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.9799, allocations: 3.8 MB / 0.8784 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.98, allocations: 7.984 kB / 0.8784 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.9806, allocations: 155.8 kB / 0.8786 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.981, allocations: 143.5 kB / 0.8787 GB, free: 7.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.9811, allocations: 20 kB / 0.8787 GB, free: 7.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.9811, allocations: 7.938 kB / 0.8787 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9811, allocations: 4 kB / 0.8787 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.9834, allocations: 1.468 MB / 0.8802 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000743/0.9842, allocations: 267.8 kB / 0.8804 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/0.9846, allocations: 23.89 kB / 0.8804 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.9853, allocations: 63.91 kB / 0.8805 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.9855, allocations: 68.36 kB / 0.8806 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.9856, allocations: 24 kB / 0.8806 GB, free: 5.398 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001204/0.9868, allocations: 0.6933 MB / 0.8813 GB, free: 4.695 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9868, allocations: 0 / 0.8813 GB, free: 4.695 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002112/0.9889, allocations: 388 kB / 0.8816 GB, free: 4.316 MB / 0.67 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.9892, allocations: 128.1 kB / 0.8818 GB, free: 4.184 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.992, allocations: 1.726 MB / 0.8834 GB, free: 2.371 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.992, allocations: 1 kB / 0.8834 GB, free: 2.371 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.9932, allocations: 0.862 MB / 0.8843 GB, free: 1.418 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.9952, allocations: 267.9 kB / 0.8845 GB, free: 1.168 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/1.003, allocations: 3.772 MB / 0.8882 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/1.006, allocations: 1.912 MB / 0.8901 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001421/1.007, allocations: 449.6 kB / 0.8905 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/1.008, allocations: 83.42 kB / 0.8906 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of SimCode: time 1.583e-06/1.008, allocations: 0 / 0.8906 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of Templates: time 0.03078/1.039, allocations: 13.29 MB / 0.9036 GB, free: 13.76 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)