Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.00081, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.0056/0.0056, allocations: 170 kB / 16.27 MB, free: 6.652 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.448/1.448, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.551/1.551, allocations: 252 MB / 0.5105 GB, free: 4.625 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.0007815/0.0007815, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5247, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01663/0.5414, allocations: 14.03 MB / 0.7424 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.5579, allocations: 10.33 MB / 0.7525 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.5605, allocations: 55.56 kB / 0.7526 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.5622, allocations: 291.7 kB / 0.7528 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.5689, allocations: 1.608 MB / 0.7544 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.5718, allocations: 0.6863 MB / 0.7551 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006017/0.5778, allocations: 3.408 MB / 0.7584 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.5824, allocations: 1.985 MB / 0.7603 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.5851, allocations: 1.32 MB / 0.7616 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.5875, allocations: 1.082 MB / 0.7627 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005305/0.5881, allocations: 71.94 kB / 0.7628 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.5905, allocations: 0.8655 MB / 0.7636 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000968/0.5915, allocations: 0.5022 MB / 0.7641 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.5933, allocations: 0.8641 MB / 0.7649 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.5967, allocations: 2.67 MB / 0.7675 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5967, allocations: 0 / 0.7675 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5967, allocations: 0 / 0.7675 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.932e-05/0.5968, allocations: 0 / 0.7675 GB, free: 3.324 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003471/0.6003, allocations: 1.843 MB / 0.7693 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6003, allocations: 11.97 kB / 0.7694 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.6125, allocations: 2.171 MB / 0.7715 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.6158, allocations: 1.213 MB / 0.7727 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.6159, allocations: 82.69 kB / 0.7727 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.6162, allocations: 132 kB / 0.7729 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.6226, allocations: 2.686 MB / 0.7755 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.6226, allocations: 15.83 kB / 0.7755 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.6228, allocations: 51.98 kB / 0.7756 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006827/0.6235, allocations: 194.1 kB / 0.7757 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007945/0.6315, allocations: 2.838 MB / 0.7785 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.6467, allocations: 10.57 MB / 0.7888 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006895/0.6537, allocations: 2.383 MB / 0.7912 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.657, allocations: 1.296 MB / 0.7924 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.6571, allocations: 9 kB / 0.7924 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.6572, allocations: 47.5 kB / 0.7925 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.036e-06/0.6572, allocations: 3.938 kB / 0.7925 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.0624/0.7196, allocations: 16.52 MB / 0.8086 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.7197, allocations: 68.72 kB / 0.8087 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.7221, allocations: 1.18 MB / 0.8098 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003553/0.7225, allocations: 53.7 kB / 0.8099 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/0.7232, allocations: 0.7398 MB / 0.8106 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008823/0.7241, allocations: 0.5197 MB / 0.8111 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.7244, allocations: 117.7 kB / 0.8112 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7245, allocations: 313 kB / 0.8115 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003827/0.7284, allocations: 1.522 MB / 0.813 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.7325, allocations: 1.807 MB / 0.8148 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007929/0.7404, allocations: 3.408 MB / 0.8181 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.7405, allocations: 0 / 0.8181 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01476/0.7553, allocations: 5.323 MB / 0.8233 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.7553, allocations: 8 kB / 0.8233 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.7554, allocations: 8 kB / 0.8233 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007353/0.7627, allocations: 1.882 MB / 0.8252 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.7649, allocations: 423.3 kB / 0.8256 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02892/0.7939, allocations: 22.21 MB / 0.8473 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.7969, allocations: 319.5 kB / 0.8476 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.7973, allocations: 63.97 kB / 0.8476 GB, free: 14.89 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.7985, allocations: 461.4 kB / 0.8481 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/0.799, allocations: 177.9 kB / 0.8482 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.8138, allocations: 5.363 MB / 0.8535 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.8139, allocations: 16 kB / 0.8535 GB, free: 8.832 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.939e-05/0.814, allocations: 23.94 kB / 0.8535 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.814, allocations: 7.969 kB / 0.8535 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.8331, allocations: 7.457 MB / 0.8608 GB, free: 1.223 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.8332, allocations: 8.062 kB / 0.8608 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.835, allocations: 367.2 kB / 0.8612 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00635/0.8414, allocations: 1.71 MB / 0.8628 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.8416, allocations: 51.91 kB / 0.8629 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/0.8688, allocations: 21.37 MB / 0.8837 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.8689, allocations: 4.031 kB / 0.8837 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.8822, allocations: 4.928 MB / 0.8886 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.8833, allocations: 0.4911 MB / 0.889 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/0.8838, allocations: 31.94 kB / 0.8891 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/0.8862, allocations: 327.5 kB / 0.8894 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/0.8868, allocations: 149 kB / 0.8895 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.8869, allocations: 59.95 kB / 0.8896 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001163/0.8881, allocations: 0.786 MB / 0.8903 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8881, allocations: 0 / 0.8903 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002534/0.8907, allocations: 0.6601 MB / 0.891 GB, free: 1.109 MB / 0.7012 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/0.8911, allocations: 143.1 kB / 0.8911 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01199/0.9031, allocations: 5.171 MB / 0.8962 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.9031, allocations: 0 / 0.8962 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007706/0.9108, allocations: 3.374 MB / 0.8995 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/0.9148, allocations: 0.5195 MB / 0.9 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.925, allocations: 5.04 MB / 0.9049 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.9266, allocations: 1.564 MB / 0.9064 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001855/0.9285, allocations: 386.4 kB / 0.9068 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.929, allocations: 115.4 kB / 0.9069 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of SimCode: time 6.42e-07/0.929, allocations: 0 / 0.9069 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of Templates: time 0.5015/1.431, allocations: 42.4 MB / 0.9483 GB, free: 139.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: