Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0008718/0.0008719, allocations: 95.88 kB / 15.69 MB, free: 480 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.0008955/0.0008956, allocations: 176.9 kB / 16.57 MB, free: 6.395 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.239/1.239, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6072/0.6072, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002608, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 77.1 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005179/0.1243, allocations: 5.2 MB / 0.5618 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003749/0.1281, allocations: 2.944 MB / 0.5647 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.1283, allocations: 27.81 kB / 0.5647 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1286, allocations: 107.2 kB / 0.5648 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000661/0.1293, allocations: 342.9 kB / 0.5651 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.13, allocations: 363.2 kB / 0.5655 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006458/0.1307, allocations: 0.6454 MB / 0.5661 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.132, allocations: 0.909 MB / 0.567 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.1324, allocations: 330.8 kB / 0.5673 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.1328, allocations: 346.7 kB / 0.5677 GB, free: 460 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.1328, allocations: 32 kB / 0.5677 GB, free: 428 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.1332, allocations: 199.7 kB / 0.5679 GB, free: 228 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1334, allocations: 235.4 kB / 0.5681 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1335, allocations: 153.3 kB / 0.5682 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.1342, allocations: 0.8495 MB / 0.5691 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1342, allocations: 0 / 0.5691 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1342, allocations: 0 / 0.5691 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1342, allocations: 0 / 0.5691 GB, free: 14.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001141/0.1354, allocations: 0.9037 MB / 0.57 GB, free: 14.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1354, allocations: 8.031 kB / 0.57 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.1355, allocations: 122.5 kB / 0.5701 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1367, allocations: 206.8 kB / 0.5703 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.1374, allocations: 0.5093 MB / 0.5708 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.1374, allocations: 57.23 kB / 0.5708 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.1375, allocations: 59.98 kB / 0.5709 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1387, allocations: 1.018 MB / 0.5719 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.1387, allocations: 15.83 kB / 0.5719 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.1388, allocations: 31.98 kB / 0.5719 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.1388, allocations: 69.28 kB / 0.572 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.1397, allocations: 0.684 MB / 0.5727 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.144, allocations: 5.76 MB / 0.5783 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.1448, allocations: 0.5965 MB / 0.5789 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1448, allocations: 4.688 kB / 0.5789 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1449, allocations: 38.52 kB / 0.5789 GB, free: 4.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.1449, allocations: 4 kB / 0.5789 GB, free: 4.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.00346/0.1483, allocations: 1.89 MB / 0.5808 GB, free: 2.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1484, allocations: 59.41 kB / 0.5808 GB, free: 2.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.1488, allocations: 446.7 kB / 0.5812 GB, free: 1.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1489, allocations: 37.7 kB / 0.5813 GB, free: 1.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.1491, allocations: 387.1 kB / 0.5816 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1492, allocations: 157.7 kB / 0.5818 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.1493, allocations: 12 kB / 0.5818 GB, free: 1.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1494, allocations: 366.7 kB / 0.5822 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.1497, allocations: 233.2 kB / 0.5824 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.1502, allocations: 441 kB / 0.5828 GB, free: 0 / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.198/0.3481, allocations: 286.1 kB / 0.5831 GB, free: 33.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3482, allocations: 1.875 kB / 0.5831 GB, free: 33.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001592/0.3498, allocations: 0.9788 MB / 0.584 GB, free: 33.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3498, allocations: 12.61 kB / 0.584 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3498, allocations: 6.625 kB / 0.584 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/0.3506, allocations: 271.6 kB / 0.5843 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.351, allocations: 103.1 kB / 0.5844 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.3555, allocations: 6.74 MB / 0.591 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.3559, allocations: 33.06 kB / 0.591 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3559, allocations: 26.06 kB / 0.591 GB, free: 27.36 MB / 446.1 MB 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.3562, allocations: 240.5 kB / 0.5913 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.3562, allocations: 61.44 kB / 0.5913 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.3576, allocations: 0.8371 MB / 0.5922 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.3576, allocations: 3.875 kB / 0.5922 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3576, allocations: 3.75 kB / 0.5922 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3576, allocations: 3.203 kB / 0.5922 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.3598, allocations: 1.709 MB / 0.5938 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3599, allocations: 5.781 kB / 0.5938 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.3601, allocations: 51.16 kB / 0.5939 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000691/0.3608, allocations: 249.2 kB / 0.5941 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3608, allocations: 7.594 kB / 0.5941 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.3649, allocations: 6.463 MB / 0.6004 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3649, allocations: 1.906 kB / 0.6004 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3662, allocations: 0.9672 MB / 0.6014 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3664, allocations: 177.5 kB / 0.6016 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.3664, allocations: 9 kB / 0.6016 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.3667, allocations: 30.17 kB / 0.6016 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3667, allocations: 41.2 kB / 0.6016 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3668, allocations: 13.94 kB / 0.6016 GB, free: 19.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.3671, allocations: 299 kB / 0.6019 GB, free: 19.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3671, allocations: 0 / 0.6019 GB, free: 19.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006708/0.3678, allocations: 186.3 kB / 0.6021 GB, free: 19.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/0.3692, allocations: 1.937 MB / 0.604 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3705, allocations: 1.139 MB / 0.6051 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3705, allocations: 0 / 0.6051 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.3714, allocations: 0.8007 MB / 0.6059 GB, free: 16.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.3721, allocations: 182.2 kB / 0.6061 GB, free: 16.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.377, allocations: 8.377 MB / 0.6142 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3774, allocations: 1.006 MB / 0.6152 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.3777, allocations: 107.5 kB / 0.6153 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.3779, allocations: 219.4 kB / 0.6155 GB, free: 8.719 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3779, allocations: 0 / 0.6155 GB, free: 8.719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.253/3.63, allocations: 13.87 MB / 0.6291 GB, free: 3.402 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/3.631, allocations: 204.2 kB / 0.6293 GB, free: 3.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/5.207, allocations: 2.531 kB / 0.6293 GB, free: 3.164 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: