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.001379/0.001379, allocations: 107.5 kB / 16.41 MB, free: 6.445 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.001352/0.001352, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.306/1.306, allocations: 222.9 MB / 241 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.738/0.738, allocations: 125.3 MB / 416.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 62.61 kB / 0.5716 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1233, allocations: 78.57 MB / 0.6484 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006421/0.1298, allocations: 5.452 MB / 0.6537 GB, free: 152 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.1334, allocations: 2.619 MB / 0.6562 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1336, allocations: 27.81 kB / 0.6563 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.1352, allocations: 0.679 MB / 0.6569 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006993/0.136, allocations: 405.8 kB / 0.6573 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.1368, allocations: 387.1 kB / 0.6577 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.1382, allocations: 0.9628 MB / 0.6586 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000852/0.1391, allocations: 458.8 kB / 0.6591 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.1397, allocations: 378.6 kB / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007197/0.1404, allocations: 398.4 kB / 0.6598 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.1406, allocations: 52 kB / 0.6599 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.1414, allocations: 363.2 kB / 0.6602 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.1418, allocations: 247.3 kB / 0.6604 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.1423, allocations: 350.2 kB / 0.6608 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.1438, allocations: 0.9689 MB / 0.6617 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1438, allocations: 0 / 0.6617 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1438, allocations: 0 / 0.6617 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.1438, allocations: 0 / 0.6617 GB, free: 7.891 MB / 0.4981 GB 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.001966/0.1458, allocations: 0.9962 MB / 0.6627 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1459, allocations: 15.97 kB / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.146, allocations: 98.69 kB / 0.6628 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.1483, allocations: 200.2 kB / 0.663 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/0.1493, allocations: 0.5184 MB / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.1494, allocations: 41.36 kB / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1495, allocations: 52.55 kB / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1506, allocations: 0.8278 MB / 0.6644 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1506, allocations: 7.891 kB / 0.6644 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.1507, allocations: 27.98 kB / 0.6644 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.1509, allocations: 72.88 kB / 0.6645 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.1517, allocations: 0.5735 MB / 0.6651 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.1557, allocations: 4.57 MB / 0.6695 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.1562, allocations: 295.3 kB / 0.6698 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.1565, allocations: 233.3 kB / 0.67 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1565, allocations: 4.281 kB / 0.67 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1566, allocations: 38.84 kB / 0.6701 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.1566, allocations: 0 / 0.6701 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.005158/0.1617, allocations: 2.639 MB / 0.6726 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1618, allocations: 55.41 kB / 0.6727 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.1622, allocations: 462 kB / 0.6731 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1623, allocations: 33.7 kB / 0.6732 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1625, allocations: 356.5 kB / 0.6735 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1626, allocations: 142.8 kB / 0.6736 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1628, allocations: 110.1 kB / 0.6738 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1629, allocations: 362.8 kB / 0.6741 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.1633, allocations: 237 kB / 0.6743 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.1637, allocations: 410.4 kB / 0.6747 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/0.1646, allocations: 0.674 MB / 0.6754 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1646, allocations: 0 / 0.6754 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00156/0.1662, allocations: 0.918 MB / 0.6763 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1662, allocations: 8 kB / 0.6763 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1662, allocations: 16 kB / 0.6763 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007191/0.1669, allocations: 222.4 kB / 0.6765 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1674, allocations: 119.8 kB / 0.6766 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.1724, allocations: 5.341 MB / 0.6818 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.1729, allocations: 31.97 kB / 0.6819 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.173, allocations: 20 kB / 0.6819 GB, free: 1.918 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003728/0.1734, allocations: 221.6 kB / 0.6821 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1735, allocations: 63.56 kB / 0.6822 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.1758, allocations: 0.7734 MB / 0.6829 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1758, allocations: 4 kB / 0.6829 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1759, allocations: 8 kB / 0.6829 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1759, allocations: 3.984 kB / 0.6829 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.1795, allocations: 1.491 MB / 0.6844 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.1796, allocations: 4 kB / 0.6844 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.1801, allocations: 64.08 kB / 0.6844 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.1812, allocations: 218.6 kB / 0.6847 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.1813, allocations: 12 kB / 0.6847 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.1865, allocations: 5.266 MB / 0.6898 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1865, allocations: 7.875 kB / 0.6898 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.1881, allocations: 1.139 MB / 0.6909 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.1883, allocations: 180.6 kB / 0.6911 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.1884, allocations: 8 kB / 0.6911 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1887, allocations: 27.91 kB / 0.6911 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.1888, allocations: 40.02 kB / 0.6912 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.1888, allocations: 12 kB / 0.6912 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003048/0.1891, allocations: 310.9 kB / 0.6915 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1891, allocations: 0 / 0.6915 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005236/0.1897, allocations: 164 kB / 0.6916 GB, free: 7.316 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/0.1916, allocations: 1.708 MB / 0.6933 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.1931, allocations: 1.004 MB / 0.6943 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1931, allocations: 0 / 0.6943 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.194, allocations: 0.6914 MB / 0.695 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/0.1948, allocations: 181.5 kB / 0.6951 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.2018, allocations: 5.623 MB / 0.7006 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2023, allocations: 0.9416 MB / 0.7015 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.2026, allocations: 117 kB / 0.7017 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.2029, allocations: 207.4 kB / 0.7019 GB, free: 12.41 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2029, allocations: 4 kB / 0.7019 GB, free: 12.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6615/0.8644, allocations: 14.09 MB / 0.7156 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.96, allocations: 8 kB / 0.7156 GB, free: 14.54 MB / 0.5606 GB (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/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)