Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 118.6 kB / 17.08 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.00125/0.00125, allocations: 197.9 kB / 18.02 MB, free: 5.066 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6676/0.6676, allocations: 115.3 MB / 407.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.05 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01491/0.1557, allocations: 14.03 MB / 0.6464 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.1696, allocations: 9.392 MB / 0.6556 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1709, allocations: 51.69 kB / 0.6557 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.1752, allocations: 1.681 MB / 0.6573 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.1796, allocations: 1.577 MB / 0.6588 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.1816, allocations: 0.7554 MB / 0.6596 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.1848, allocations: 2.524 MB / 0.662 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.1864, allocations: 1.415 MB / 0.6634 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1878, allocations: 1.074 MB / 0.6645 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.1892, allocations: 1.14 MB / 0.6656 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.1895, allocations: 164 kB / 0.6657 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.1909, allocations: 0.7916 MB / 0.6665 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005265/0.1914, allocations: 0.6154 MB / 0.6671 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008515/0.1923, allocations: 0.9368 MB / 0.668 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.195, allocations: 2.753 MB / 0.6707 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.195, allocations: 8 kB / 0.6707 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.883e-06/0.195, allocations: 0 / 0.6707 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.195, allocations: 0 / 0.6707 GB, free: 13.36 MB / 0.5137 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.003706/0.1987, allocations: 2.143 MB / 0.6728 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1988, allocations: 8.031 kB / 0.6728 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.2099, allocations: 2.085 MB / 0.6749 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.2123, allocations: 1.287 MB / 0.6761 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.2124, allocations: 90.73 kB / 0.6762 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.2126, allocations: 128 kB / 0.6763 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/0.2181, allocations: 2.679 MB / 0.6789 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.2181, allocations: 3.938 kB / 0.6789 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.2183, allocations: 55.98 kB / 0.679 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006247/0.2189, allocations: 186.1 kB / 0.6792 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007231/0.2262, allocations: 2.795 MB / 0.6819 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.2399, allocations: 10.47 MB / 0.6921 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006689/0.2466, allocations: 2.549 MB / 0.6946 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.2497, allocations: 1.284 MB / 0.6959 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.2498, allocations: 9 kB / 0.6959 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.2498, allocations: 43.56 kB / 0.6959 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.515e-06/0.2498, allocations: 0 / 0.6959 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.04499/0.2948, allocations: 13.35 MB / 0.709 GB, free: 5.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2949, allocations: 64.72 kB / 0.709 GB, free: 4.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.2963, allocations: 1.117 MB / 0.7101 GB, free: 3.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.2965, allocations: 49.7 kB / 0.7102 GB, free: 3.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.297, allocations: 0.7117 MB / 0.7108 GB, free: 3.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.2974, allocations: 457.4 kB / 0.7113 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/0.2979, allocations: 263.3 kB / 0.7115 GB, free: 2.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2981, allocations: 365.9 kB / 0.7119 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/0.3013, allocations: 1.335 MB / 0.7132 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.3048, allocations: 1.608 MB / 0.7148 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006679/0.3115, allocations: 2.991 MB / 0.7177 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3115, allocations: 4 kB / 0.7177 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01125/0.3227, allocations: 4.438 MB / 0.722 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3228, allocations: 8 kB / 0.722 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3228, allocations: 8 kB / 0.722 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004951/0.3278, allocations: 1.44 MB / 0.7234 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.3299, allocations: 427.3 kB / 0.7238 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02618/0.3561, allocations: 26.68 MB / 0.7499 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.3586, allocations: 299.7 kB / 0.7502 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.3588, allocations: 63.91 kB / 0.7502 GB, free: 8.574 MB / 0.5919 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008416/0.3596, allocations: 449 kB / 0.7507 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.3599, allocations: 162.2 kB / 0.7508 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/0.3756, allocations: 4.453 MB / 0.7552 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.3757, allocations: 16 kB / 0.7552 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.53e-05/0.3757, allocations: 12 kB / 0.7552 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.3758, allocations: 7.969 kB / 0.7552 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3119/0.6877, allocations: 6.763 MB / 0.7618 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.6877, allocations: 3.188 kB / 0.7618 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.6895, allocations: 386.9 kB / 0.7622 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004481/0.694, allocations: 1.3 MB / 0.7635 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.6942, allocations: 45.08 kB / 0.7635 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/0.7149, allocations: 25.49 MB / 0.7884 GB, free: 94.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.7149, allocations: 3.719 kB / 0.7884 GB, free: 94.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009461/0.7244, allocations: 4.209 MB / 0.7925 GB, free: 93.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/0.7251, allocations: 457.5 kB / 0.7929 GB, free: 93.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.7254, allocations: 24.25 kB / 0.793 GB, free: 93.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.7272, allocations: 305.1 kB / 0.7933 GB, free: 93.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.7276, allocations: 130 kB / 0.7934 GB, free: 93.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.7278, allocations: 46.94 kB / 0.7934 GB, free: 93.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008598/0.7286, allocations: 0.7585 MB / 0.7942 GB, free: 92.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7286, allocations: 3.281 kB / 0.7942 GB, free: 92.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001568/0.7302, allocations: 0.5717 MB / 0.7947 GB, free: 92.84 MB / 0.5919 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.7305, allocations: 141 kB / 0.7949 GB, free: 92.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008861/0.7393, allocations: 5.126 MB / 0.7999 GB, free: 90.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7393, allocations: 3.531 kB / 0.7999 GB, free: 90.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005579/0.7449, allocations: 3.489 MB / 0.8033 GB, free: 87.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.7469, allocations: 0.5595 MB / 0.8038 GB, free: 87.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.7536, allocations: 4.103 MB / 0.8078 GB, free: 85.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.7544, allocations: 1.48 MB / 0.8093 GB, free: 83.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.7549, allocations: 135.3 kB / 0.8094 GB, free: 83.43 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.7549, allocations: 0 / 0.8094 GB, free: 83.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.073/0.8279, allocations: 112.6 MB / 0.9194 GB, free: 2.844 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)