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.0007498/0.0007498, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008311/0.0008311, allocations: 173.3 kB / 16.58 MB, free: 6.852 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.262/1.262, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6402/0.6402, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 12 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005565/0.1434, allocations: 5.383 MB / 0.5622 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.1475, allocations: 2.956 MB / 0.565 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.1479, allocations: 23.81 kB / 0.5651 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1483, allocations: 115 kB / 0.5652 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.1491, allocations: 382 kB / 0.5655 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.1498, allocations: 363.1 kB / 0.5659 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1509, allocations: 1.201 MB / 0.5671 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.1522, allocations: 0.9015 MB / 0.5679 GB, free: 328 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.1527, allocations: 358.5 kB / 0.5683 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004656/0.1532, allocations: 434.4 kB / 0.5687 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.1532, allocations: 32 kB / 0.5687 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.1537, allocations: 259.6 kB / 0.569 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1539, allocations: 247.3 kB / 0.5692 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.154, allocations: 161.3 kB / 0.5694 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007317/0.1548, allocations: 0.8808 MB / 0.5702 GB, free: 13.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1548, allocations: 0 / 0.5702 GB, free: 13.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1548, allocations: 3.938 kB / 0.5702 GB, free: 13.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1548, allocations: 0 / 0.5702 GB, free: 13.96 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.001174/0.156, allocations: 0.9192 MB / 0.5711 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.156, allocations: 8.031 kB / 0.5711 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1561, allocations: 118.5 kB / 0.5713 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1574, allocations: 214.8 kB / 0.5715 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.1581, allocations: 0.521 MB / 0.572 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.1581, allocations: 45.3 kB / 0.572 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.1582, allocations: 63.98 kB / 0.5721 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.1595, allocations: 1.029 MB / 0.5731 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.1596, allocations: 11.84 kB / 0.5731 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.1596, allocations: 27.98 kB / 0.5731 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.993e-05/0.1597, allocations: 69.27 kB / 0.5732 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.1607, allocations: 0.6918 MB / 0.5739 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/0.1652, allocations: 5.753 MB / 0.5795 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/0.166, allocations: 0.6027 MB / 0.5801 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.1667, allocations: 425.9 kB / 0.5805 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.1668, allocations: 15.67 kB / 0.5805 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1668, allocations: 42.5 kB / 0.5805 GB, free: 2.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.1668, allocations: 4 kB / 0.5805 GB, free: 2.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003803/0.1706, allocations: 2.037 MB / 0.5825 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1707, allocations: 67.39 kB / 0.5826 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1711, allocations: 450.7 kB / 0.583 GB, free: 72 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1711, allocations: 33.7 kB / 0.583 GB, free: 32 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2451/0.4162, allocations: 378.3 kB / 0.5834 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4164, allocations: 151.9 kB / 0.5835 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.4165, allocations: 11.78 kB / 0.5836 GB, free: 33.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.4165, allocations: 362.9 kB / 0.5839 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.4169, allocations: 243.9 kB / 0.5841 GB, free: 32.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4174, allocations: 455.9 kB / 0.5846 GB, free: 32.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.4178, allocations: 311.6 kB / 0.5849 GB, free: 32.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.4178, allocations: 2.344 kB / 0.5849 GB, free: 32.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001936/0.4198, allocations: 1.056 MB / 0.5859 GB, free: 32.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4198, allocations: 8.172 kB / 0.5859 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4198, allocations: 7.25 kB / 0.5859 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009741/0.4208, allocations: 340 kB / 0.5862 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.4211, allocations: 95.19 kB / 0.5863 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.4265, allocations: 6.937 MB / 0.5931 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4269, allocations: 29.53 kB / 0.5931 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.4269, allocations: 26.39 kB / 0.5932 GB, free: 26.47 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.4273, allocations: 241.2 kB / 0.5934 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.4273, allocations: 65.17 kB / 0.5935 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.4289, allocations: 0.9174 MB / 0.5943 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4289, allocations: 3.938 kB / 0.5944 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.429, allocations: 4.25 kB / 0.5944 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.429, allocations: 2.969 kB / 0.5944 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.4315, allocations: 1.705 MB / 0.596 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4315, allocations: 1.656 kB / 0.596 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.4316, allocations: 37.91 kB / 0.5961 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/0.4325, allocations: 329.1 kB / 0.5964 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4326, allocations: 7.328 kB / 0.5964 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005465/0.438, allocations: 6.931 MB / 0.6032 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4381, allocations: 2.797 kB / 0.6032 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.4397, allocations: 1.006 MB / 0.6041 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.44, allocations: 176.2 kB / 0.6043 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.4401, allocations: 11.83 kB / 0.6043 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.4403, allocations: 23.55 kB / 0.6043 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4404, allocations: 40.92 kB / 0.6044 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.4404, allocations: 12.16 kB / 0.6044 GB, free: 18.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.4408, allocations: 306.8 kB / 0.6047 GB, free: 18.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4409, allocations: 0.5938 kB / 0.6047 GB, free: 18.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009319/0.4418, allocations: 199.5 kB / 0.6049 GB, free: 18.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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/0.4438, allocations: 1.555 MB / 0.6064 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.4455, allocations: 1.195 MB / 0.6076 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4455, allocations: 0.9844 kB / 0.6076 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4466, allocations: 0.8693 MB / 0.6084 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008839/0.4475, allocations: 187 kB / 0.6086 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.4527, allocations: 3.974 MB / 0.6125 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.4532, allocations: 0.9927 MB / 0.6134 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.4536, allocations: 99.03 kB / 0.6135 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.4538, allocations: 221.9 kB / 0.6137 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4538, allocations: 0 / 0.6137 GB, free: 12.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.4788, allocations: 14.46 MB / 0.6279 GB, free: 5.387 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001149/0.479, allocations: 206.4 kB / 0.6281 GB, free: 5.148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.364, allocations: 0 / 0.6281 GB, free: 5.148 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: