Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00919/0.00919, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001734/0.001734, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.826/1.826, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.67/1.67, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001443/0.001443, allocations: 65.78 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2573, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007339/0.2647, allocations: 4.909 MB / 0.8328 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005374/0.2701, allocations: 2.527 MB / 0.8353 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006786/0.2708, allocations: 23.81 kB / 0.8353 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.2722, allocations: 409.8 kB / 0.8357 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.2736, allocations: 445.6 kB / 0.8361 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2748, allocations: 396.5 kB / 0.8365 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.2765, allocations: 0.929 MB / 0.8374 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007398/0.2773, allocations: 362.4 kB / 0.8378 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.2779, allocations: 330.7 kB / 0.8381 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.2785, allocations: 350.5 kB / 0.8384 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.2785, allocations: 40 kB / 0.8385 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.2794, allocations: 403.1 kB / 0.8388 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.2796, allocations: 183.4 kB / 0.839 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.28, allocations: 318.2 kB / 0.8393 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.2814, allocations: 0.8876 MB / 0.8402 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2814, allocations: 4 kB / 0.8402 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2815, allocations: 0 / 0.8402 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.2815, allocations: 0 / 0.8402 GB, free: 3.691 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001575/0.2831, allocations: 0.9463 MB / 0.8411 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2831, allocations: 8.031 kB / 0.8411 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.2844, allocations: 207.8 kB / 0.8413 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.2853, allocations: 0.5528 MB / 0.8419 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.2853, allocations: 37.36 kB / 0.8419 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.2854, allocations: 44.31 kB / 0.8419 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2867, allocations: 0.8448 MB / 0.8428 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2867, allocations: 7.938 kB / 0.8428 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.2868, allocations: 23.98 kB / 0.8428 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-05/0.2869, allocations: 64.95 kB / 0.8428 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.2877, allocations: 0.5656 MB / 0.8434 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.2927, allocations: 5.647 MB / 0.8489 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.2933, allocations: 462.2 kB / 0.8494 GB, free: 9.672 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.2936, allocations: 232.7 kB / 0.8496 GB, free: 9.441 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2936, allocations: 8 kB / 0.8496 GB, free: 9.434 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2937, allocations: 34.56 kB / 0.8496 GB, free: 9.391 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2937, allocations: 0 / 0.8496 GB, free: 9.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002815/0.2965, allocations: 1.505 MB / 0.8511 GB, free: 7.773 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2966, allocations: 55.41 kB / 0.8511 GB, free: 7.707 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.2971, allocations: 0.499 MB / 0.8516 GB, free: 7.195 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2971, allocations: 33.7 kB / 0.8517 GB, free: 7.156 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2974, allocations: 362.8 kB / 0.852 GB, free: 6.797 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.2975, allocations: 122.3 kB / 0.8521 GB, free: 6.676 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.2976, allocations: 110.2 kB / 0.8522 GB, free: 6.562 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2978, allocations: 374.7 kB / 0.8526 GB, free: 6.188 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.2981, allocations: 193.2 kB / 0.8528 GB, free: 5.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.2985, allocations: 450.5 kB / 0.8532 GB, free: 5.441 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.2994, allocations: 0.6955 MB / 0.8539 GB, free: 4.629 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2994, allocations: 0 / 0.8539 GB, free: 4.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001218/0.3006, allocations: 0.8095 MB / 0.8547 GB, free: 3.797 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3007, allocations: 8 kB / 0.8547 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3007, allocations: 8 kB / 0.8547 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.3012, allocations: 160 kB / 0.8548 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.3017, allocations: 119.9 kB / 0.855 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/0.3052, allocations: 4.348 MB / 0.8592 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.3056, allocations: 31.97 kB / 0.8592 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3056, allocations: 31.94 kB / 0.8593 GB, free: 14.66 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002926/0.3059, allocations: 217.6 kB / 0.8595 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.306, allocations: 63.25 kB / 0.8595 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.307, allocations: 0.6049 MB / 0.8601 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3071, allocations: 4 kB / 0.8601 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3071, allocations: 0 / 0.8601 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3071, allocations: 0 / 0.8601 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.3089, allocations: 1.265 MB / 0.8614 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3089, allocations: 224 / 0.8614 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3092, allocations: 63.89 kB / 0.8614 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.3096, allocations: 140.2 kB / 0.8616 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.3096, allocations: 11.94 kB / 0.8616 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.3128, allocations: 4.332 MB / 0.8658 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3128, allocations: 0 / 0.8658 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/0.3138, allocations: 0.7154 MB / 0.8665 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.314, allocations: 168.3 kB / 0.8667 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.3141, allocations: 8 kB / 0.8667 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3144, allocations: 23.97 kB / 0.8667 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.3144, allocations: 39.83 kB / 0.8667 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3145, allocations: 12 kB / 0.8667 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000357/0.3148, allocations: 338.8 kB / 0.8671 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3148, allocations: 0 / 0.8671 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006533/0.3155, allocations: 140 kB / 0.8672 GB, free: 5.906 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001779/0.3157, allocations: 119.2 kB / 0.8673 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.3171, allocations: 1.037 MB / 0.8683 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3171, allocations: 0 / 0.8683 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008839/0.318, allocations: 0.7345 MB / 0.869 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.319, allocations: 207.1 kB / 0.8692 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3206, allocations: 1.038 MB / 0.8702 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.3211, allocations: 0.9098 MB / 0.8711 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002876/0.3214, allocations: 117.3 kB / 0.8712 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.3215, allocations: 43.44 kB / 0.8713 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.3215, allocations: 0 / 0.8713 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of Templates: time 0.01427/0.3358, allocations: 7.715 MB / 0.8788 GB, free: 9.848 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)