Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.0008213/0.0008213, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008157/0.000816, allocations: 178.3 kB / 16.57 MB, free: 6.477 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.133/1.133, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5746/0.5746, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 12 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1134, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00465/0.1181, allocations: 4.615 MB / 0.5612 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.1211, allocations: 2.468 MB / 0.5637 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1213, allocations: 19.81 kB / 0.5637 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1214, allocations: 91.38 kB / 0.5638 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.122, allocations: 323 kB / 0.5641 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.1225, allocations: 287.3 kB / 0.5643 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.1231, allocations: 0.5786 MB / 0.5649 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009889/0.1241, allocations: 0.7439 MB / 0.5656 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.1244, allocations: 286.9 kB / 0.5659 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1247, allocations: 294.9 kB / 0.5662 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.1248, allocations: 27.98 kB / 0.5662 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.1251, allocations: 155.7 kB / 0.5664 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1252, allocations: 203.4 kB / 0.5666 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1253, allocations: 149.3 kB / 0.5667 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.1259, allocations: 0.6857 MB / 0.5674 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.1259, allocations: 0 / 0.5674 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1259, allocations: 0 / 0.5674 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1259, allocations: 4 kB / 0.5674 GB, free: 0.7227 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001081/0.127, allocations: 0.8434 MB / 0.5682 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.127, allocations: 12.03 kB / 0.5682 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.1271, allocations: 102.5 kB / 0.5683 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1282, allocations: 190.9 kB / 0.5685 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.1288, allocations: 461.6 kB / 0.5689 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.1288, allocations: 44.94 kB / 0.569 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1289, allocations: 55.92 kB / 0.569 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.1298, allocations: 0.8168 MB / 0.5698 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1299, allocations: 7.938 kB / 0.5698 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.1299, allocations: 23.98 kB / 0.5698 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.1301, allocations: 64.95 kB / 0.5699 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.1308, allocations: 0.5658 MB / 0.5705 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.1344, allocations: 4.589 MB / 0.5749 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.1348, allocations: 295.2 kB / 0.5752 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1348, allocations: 4.281 kB / 0.5752 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1348, allocations: 42.8 kB / 0.5753 GB, free: 8.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.263e-06/0.1348, allocations: 0 / 0.5753 GB, free: 8.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.00467/0.1395, allocations: 2.639 MB / 0.5778 GB, free: 5.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1395, allocations: 55.41 kB / 0.5779 GB, free: 5.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.1399, allocations: 457.9 kB / 0.5783 GB, free: 4.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.14, allocations: 33.7 kB / 0.5784 GB, free: 4.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1401, allocations: 335.7 kB / 0.5787 GB, free: 4.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.1402, allocations: 146 kB / 0.5788 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.1403, allocations: 8 kB / 0.5788 GB, free: 4.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1404, allocations: 362.7 kB / 0.5792 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.1407, allocations: 237 kB / 0.5794 GB, free: 3.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.1411, allocations: 406.4 kB / 0.5798 GB, free: 3.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1415, allocations: 293.7 kB / 0.5801 GB, free: 2.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1415, allocations: 0 / 0.5801 GB, free: 2.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001415/0.1429, allocations: 0.9193 MB / 0.581 GB, free: 1.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1429, allocations: 8 kB / 0.581 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1429, allocations: 4 kB / 0.581 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.1436, allocations: 227 kB / 0.5812 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.1441, allocations: 115.8 kB / 0.5813 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1932/0.3373, allocations: 5.005 MB / 0.5862 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.3377, allocations: 30.69 kB / 0.5862 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.3378, allocations: 22.84 kB / 0.5863 GB, free: 29.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002653/0.3381, allocations: 231.8 kB / 0.5865 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.3382, allocations: 60.11 kB / 0.5865 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.3396, allocations: 0.7723 MB / 0.5873 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3396, allocations: 5.281 kB / 0.5873 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3396, allocations: 1.969 kB / 0.5873 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3396, allocations: 3.359 kB / 0.5873 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.3418, allocations: 1.493 MB / 0.5888 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3418, allocations: 2.406 kB / 0.5888 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.3422, allocations: 71.66 kB / 0.5888 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.3428, allocations: 204.8 kB / 0.589 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.3429, allocations: 11.47 kB / 0.589 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.3462, allocations: 4.951 MB / 0.5939 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3462, allocations: 3.5 kB / 0.5939 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.3477, allocations: 1.206 MB / 0.595 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3479, allocations: 168.2 kB / 0.5952 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.348, allocations: 9.75 kB / 0.5952 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.3483, allocations: 32.11 kB / 0.5952 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.3484, allocations: 39.3 kB / 0.5953 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3484, allocations: 13.91 kB / 0.5953 GB, free: 23.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.3487, allocations: 303.6 kB / 0.5956 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3487, allocations: 1.281 kB / 0.5956 GB, free: 23.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.3493, allocations: 169.4 kB / 0.5957 GB, free: 23.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/0.3509, allocations: 2.247 MB / 0.5979 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.3522, allocations: 1.011 MB / 0.5989 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3522, allocations: 0.6562 kB / 0.5989 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007649/0.353, allocations: 0.6769 MB / 0.5996 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.3536, allocations: 158.7 kB / 0.5997 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.3585, allocations: 7.288 MB / 0.6069 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3589, allocations: 0.9604 MB / 0.6078 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.3593, allocations: 107.7 kB / 0.6079 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.3595, allocations: 209.9 kB / 0.6081 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3595, allocations: 0.5 kB / 0.6081 GB, free: 13.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.402/2.761, allocations: 13.17 MB / 0.621 GB, free: 9.547 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/2.761, allocations: 203.1 kB / 0.6212 GB, free: 9.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/5.61, allocations: 7.125 kB / 0.6212 GB, free: 9.305 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: