Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001064/0.001064, allocations: 188.1 kB / 16.25 MB, free: 6.629 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 294.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.995/0.995, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 91.92 kB / 0.5948 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1659, allocations: 86.99 MB / 0.6798 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01554/0.1815, allocations: 14.68 MB / 0.6941 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.1953, allocations: 10.24 MB / 0.7041 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.1968, allocations: 55.62 kB / 0.7041 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.2008, allocations: 1.575 MB / 0.7057 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.2062, allocations: 1.63 MB / 0.7073 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.208, allocations: 0.6893 MB / 0.7079 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003212/0.2112, allocations: 2.762 MB / 0.7106 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.213, allocations: 1.586 MB / 0.7122 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.2148, allocations: 1.523 MB / 0.7137 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.2162, allocations: 1.206 MB / 0.7149 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.2164, allocations: 160 kB / 0.715 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2177, allocations: 0.7838 MB / 0.7158 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.2182, allocations: 0.6037 MB / 0.7164 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.219, allocations: 0.9522 MB / 0.7173 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.2214, allocations: 2.792 MB / 0.72 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2214, allocations: 0 / 0.72 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2214, allocations: 0 / 0.72 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.2215, allocations: 0 / 0.72 GB, free: 7.582 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.003476/0.2249, allocations: 2.174 MB / 0.7221 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.225, allocations: 12.03 kB / 0.7222 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.2252, allocations: 198.3 kB / 0.7223 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.2366, allocations: 2.105 MB / 0.7244 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.239, allocations: 1.21 MB / 0.7256 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.2391, allocations: 86.69 kB / 0.7257 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.2394, allocations: 123.9 kB / 0.7258 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005401/0.2448, allocations: 2.674 MB / 0.7284 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.2448, allocations: 11.83 kB / 0.7284 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.245, allocations: 59.97 kB / 0.7285 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005931/0.2456, allocations: 190.1 kB / 0.7286 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00707/0.2527, allocations: 2.795 MB / 0.7314 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.2667, allocations: 10.49 MB / 0.7416 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006132/0.2729, allocations: 2.336 MB / 0.7439 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/0.2758, allocations: 1.277 MB / 0.7451 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.2759, allocations: 16.98 kB / 0.7452 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.276, allocations: 43.56 kB / 0.7452 GB, free: 12.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.276, allocations: 0 / 0.7452 GB, free: 12.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.05765/0.3336, allocations: 16.48 MB / 0.7613 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3337, allocations: 68.72 kB / 0.7614 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.3354, allocations: 1.172 MB / 0.7625 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.3357, allocations: 57.69 kB / 0.7626 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.3362, allocations: 0.7398 MB / 0.7633 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/0.3368, allocations: 0.512 MB / 0.7638 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/0.3374, allocations: 287.5 kB / 0.7641 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3375, allocations: 305.1 kB / 0.7644 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/0.3409, allocations: 1.507 MB / 0.7658 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00382/0.3447, allocations: 1.791 MB / 0.7676 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/0.352, allocations: 3.373 MB / 0.7709 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3521, allocations: 0 / 0.7709 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.3461/0.6982, allocations: 5.275 MB / 0.776 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.6982, allocations: 8.031 kB / 0.776 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6983, allocations: 6.812 kB / 0.776 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/0.7049, allocations: 1.887 MB / 0.7779 GB, free: 90.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.7069, allocations: 423.4 kB / 0.7783 GB, free: 90 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02555/0.7325, allocations: 24.14 MB / 0.8019 GB, free: 73.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.735, allocations: 308.7 kB / 0.8021 GB, free: 73.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.7352, allocations: 73.02 kB / 0.8022 GB, free: 73.32 MB / 0.5606 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.0008131/0.736, allocations: 462.5 kB / 0.8027 GB, free: 73.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.7363, allocations: 175.3 kB / 0.8028 GB, free: 72.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.7493, allocations: 5.322 MB / 0.808 GB, free: 71.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7494, allocations: 13.88 kB / 0.808 GB, free: 71.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/0.7494, allocations: 18.88 kB / 0.8081 GB, free: 71.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.7495, allocations: 10.52 kB / 0.8081 GB, free: 71.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.7642, allocations: 7.421 MB / 0.8153 GB, free: 66.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.7642, allocations: 6.781 kB / 0.8153 GB, free: 66.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.7658, allocations: 352.1 kB / 0.8157 GB, free: 66.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005562/0.7713, allocations: 1.729 MB / 0.8173 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.7715, allocations: 43.72 kB / 0.8174 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/0.7926, allocations: 23.32 MB / 0.8402 GB, free: 45.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7926, allocations: 3.828 kB / 0.8402 GB, free: 45.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/0.803, allocations: 4.89 MB / 0.8449 GB, free: 40.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008787/0.8039, allocations: 494.7 kB / 0.8454 GB, free: 39.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/0.8043, allocations: 39.92 kB / 0.8454 GB, free: 39.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.8062, allocations: 311.5 kB / 0.8457 GB, free: 39.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/0.8068, allocations: 153 kB / 0.8459 GB, free: 39.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.8069, allocations: 51.97 kB / 0.8459 GB, free: 39.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008061/0.8077, allocations: 0.7899 MB / 0.8467 GB, free: 38.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8077, allocations: 4 kB / 0.8467 GB, free: 38.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001858/0.8096, allocations: 0.6523 MB / 0.8473 GB, free: 37.84 MB / 0.5606 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.01036/0.8199, allocations: 5.474 MB / 0.8527 GB, free: 32.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.8304, allocations: 5.428 MB / 0.858 GB, free: 26.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.8305, allocations: 0 / 0.858 GB, free: 26.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/0.8368, allocations: 3.368 MB / 0.8613 GB, free: 23.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.8397, allocations: 0.5581 MB / 0.8618 GB, free: 22.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04493/0.8846, allocations: 23.61 MB / 0.8849 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.8865, allocations: 1.568 MB / 0.8864 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001872/0.8884, allocations: 392.9 kB / 0.8868 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.8894, allocations: 0.6554 MB / 0.8874 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of SimCode: time 2.495e-06/0.8895, allocations: 0 / 0.8874 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.658/4.547, allocations: 58.47 MB / 0.9445 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000353/4.548, allocations: 268.2 kB / 0.9448 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/7.506, allocations: 6.188 kB / 0.9448 GB, free: 1.73 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)