Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001025/0.001025, allocations: 172.9 kB / 487.4 MB, free: 5.055 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.522/1.522, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 95.73 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.732e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2552, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9415/1.197, allocations: 177.8 MB / 1.38 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.197, allocations: 94.45 kB / 1.38 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0647/1.262, allocations: 31.06 MB / 1.41 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/1.262, allocations: 0 / 1.41 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.328e-05/1.262, allocations: 12 kB / 1.41 GB, free: 18.75 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001177/1.263, allocations: 0.7464 MB / 1.411 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.263, allocations: 8.031 kB / 1.411 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/1.264, allocations: 182.6 kB / 1.411 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.265, allocations: 372.1 kB / 1.411 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/1.265, allocations: 20 kB / 1.411 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/1.265, allocations: 24 kB / 1.411 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006651/1.266, allocations: 471.9 kB / 1.412 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/1.266, allocations: 0.7283 MB / 1.413 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.266, allocations: 0 / 1.413 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/1.266, allocations: 4 kB / 1.413 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.266, allocations: 48.69 kB / 1.413 GB, free: 16.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/1.27, allocations: 4.39 MB / 1.417 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/1.271, allocations: 0.5617 MB / 1.417 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.271, allocations: 253.1 kB / 1.418 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/1.271, allocations: 11.45 kB / 1.418 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.271, allocations: 45.38 kB / 1.418 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/1.271, allocations: 0 / 1.418 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.001045/1.272, allocations: 0.6225 MB / 1.418 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.272, allocations: 81.11 kB / 1.418 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/1.273, allocations: 274 kB / 1.419 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/1.273, allocations: 25.7 kB / 1.419 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.273, allocations: 285 kB / 1.419 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.273, allocations: 128.5 kB / 1.419 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/1.273, allocations: 3.938 kB / 1.419 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.273, allocations: 351.4 kB / 1.419 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/1.273, allocations: 216.1 kB / 1.42 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/1.274, allocations: 418.3 kB / 1.42 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/1.274, allocations: 281.2 kB / 1.42 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.274, allocations: 4 kB / 1.42 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009145/1.275, allocations: 0.6618 MB / 1.421 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001002/1.276, allocations: 2.607 MB / 1.423 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.276, allocations: 8 kB / 1.423 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.276, allocations: 12 kB / 1.423 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/1.277, allocations: 175.2 kB / 1.424 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.277, allocations: 15.94 kB / 1.424 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/1.278, allocations: 74.86 kB / 1.424 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/1.278, allocations: 27.36 kB / 1.424 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/1.278, allocations: 5.562 kB / 1.424 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006866/1.278, allocations: 478.6 kB / 1.424 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/1.278, allocations: 12.03 kB / 1.424 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.278, allocations: 15.95 kB / 1.424 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/1.279, allocations: 159 kB / 1.424 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.279, allocations: 15.92 kB / 1.424 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/1.279, allocations: 59.73 kB / 1.424 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/1.279, allocations: 23.81 kB / 1.425 GB, free: 4.793 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.28, allocations: 120.1 kB / 1.425 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/1.28, allocations: 43.47 kB / 1.425 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/1.281, allocations: 0.549 MB / 1.425 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.281, allocations: 7.953 kB / 1.425 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.281, allocations: 0 / 1.425 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.281, allocations: 3.984 kB / 1.425 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/1.282, allocations: 1.267 MB / 1.426 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.282, allocations: 4 kB / 1.426 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/1.283, allocations: 151.3 kB / 1.427 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.283, allocations: 7.984 kB / 1.427 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/1.283, allocations: 4 kB / 1.427 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.283, allocations: 0 / 1.427 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.283, allocations: 16 kB / 1.427 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007892/1.284, allocations: 0.7876 MB / 1.427 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/1.284, allocations: 165.8 kB / 1.428 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.144e-05/1.284, allocations: 4 kB / 1.428 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/1.285, allocations: 55.92 kB / 1.428 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/1.285, allocations: 30.47 kB / 1.428 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/1.285, allocations: 15.98 kB / 1.428 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001974/1.285, allocations: 220.9 kB / 1.428 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/1.285, allocations: 4 kB / 1.428 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007911/1.286, allocations: 180.1 kB / 1.428 GB, free: 1.605 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/1.286, allocations: 115.1 kB / 1.428 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.287, allocations: 0.807 MB / 1.429 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.287, allocations: 0 / 1.429 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/1.287, allocations: 256.4 kB / 1.429 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/1.288, allocations: 99.22 kB / 1.429 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/1.289, allocations: 0.7847 MB / 1.43 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/1.29, allocations: 0.8919 MB / 1.431 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000623/1.291, allocations: 219.9 kB / 1.431 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.291, allocations: 35.44 kB / 1.431 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/1.291, allocations: 0 / 1.431 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.01049/1.301, allocations: 6.188 MB / 1.437 GB, free: 8.637 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)