Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.0007726/0.0007759, allocations: 96.27 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.0008099/0.0008099, allocations: 176.2 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.138/1.138, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5706/0.5706, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002456, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00381/0.1149, allocations: 3.687 MB / 0.5603 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.1184, allocations: 2.924 MB / 0.5632 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1186, allocations: 7.938 kB / 0.5632 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.119, allocations: 155.3 kB / 0.5633 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.1196, allocations: 291 kB / 0.5636 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1199, allocations: 179.5 kB / 0.5638 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.1203, allocations: 339.3 kB / 0.5641 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009241/0.1212, allocations: 0.7236 MB / 0.5648 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1214, allocations: 167.4 kB / 0.565 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1216, allocations: 171.3 kB / 0.5652 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.1217, allocations: 24 kB / 0.5652 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.122, allocations: 231.7 kB / 0.5654 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1222, allocations: 127.6 kB / 0.5655 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.1222, allocations: 105.5 kB / 0.5656 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.1228, allocations: 0.6704 MB / 0.5663 GB, free: 1.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.1228, allocations: 0 / 0.5663 GB, free: 1.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1228, allocations: 0 / 0.5663 GB, free: 1.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1228, allocations: 0 / 0.5663 GB, free: 1.871 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009538/0.1238, allocations: 0.7129 MB / 0.567 GB, free: 1.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.1238, allocations: 8.031 kB / 0.567 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.1239, allocations: 74.53 kB / 0.567 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.1264, allocations: 0.6976 MB / 0.5677 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.1271, allocations: 482.5 kB / 0.5682 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1271, allocations: 20.66 kB / 0.5682 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.1272, allocations: 36 kB / 0.5682 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1285, allocations: 0.7825 MB / 0.569 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1285, allocations: 7.984 kB / 0.569 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.1286, allocations: 11.94 kB / 0.569 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.1287, allocations: 56.59 kB / 0.5691 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.1304, allocations: 0.8765 MB / 0.5699 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.1337, allocations: 2.855 MB / 0.5727 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.1351, allocations: 0.5215 MB / 0.5732 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.1352, allocations: 89.39 kB / 0.5733 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1353, allocations: 34.5 kB / 0.5733 GB, free: 10.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1353, allocations: 0 / 0.5733 GB, free: 10.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01007/0.1453, allocations: 3.213 MB / 0.5765 GB, free: 6.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1454, allocations: 89.05 kB / 0.5766 GB, free: 6.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.1458, allocations: 417.5 kB / 0.577 GB, free: 6.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1458, allocations: 25.7 kB / 0.577 GB, free: 6.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.1459, allocations: 239.8 kB / 0.5772 GB, free: 6.191 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.146, allocations: 86.75 kB / 0.5773 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1461, allocations: 7.938 kB / 0.5773 GB, free: 6.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1462, allocations: 350.8 kB / 0.5776 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.147, allocations: 359.7 kB / 0.578 GB, free: 5.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.1478, allocations: 449.2 kB / 0.5784 GB, free: 4.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.1487, allocations: 390.2 kB / 0.5788 GB, free: 4.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1487, allocations: 0 / 0.5788 GB, free: 4.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004533/0.1532, allocations: 1.54 MB / 0.5803 GB, free: 2.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.1535, allocations: 0.7901 MB / 0.5811 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1535, allocations: 0 / 0.5811 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003451/0.1569, allocations: 0.852 MB / 0.5819 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.1575, allocations: 127.8 kB / 0.582 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1908/0.3483, allocations: 4.783 MB / 0.5867 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.3491, allocations: 122 kB / 0.5868 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.3491, allocations: 20.97 kB / 0.5868 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.3491, allocations: 3.938 kB / 0.5868 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003885/0.353, allocations: 1.262 MB / 0.5881 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.353, allocations: 2.125 kB / 0.5881 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.3553, allocations: 0.5537 MB / 0.5886 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.3559, allocations: 145.9 kB / 0.5887 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.3588, allocations: 2.566 MB / 0.5913 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.3595, allocations: 114.1 kB / 0.5914 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3595, allocations: 17.53 kB / 0.5914 GB, free: 28.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.3598, allocations: 312.4 kB / 0.5917 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.3599, allocations: 38.14 kB / 0.5917 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.3641, allocations: 1.428 MB / 0.5931 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3641, allocations: 6.781 kB / 0.5931 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3641, allocations: 1.688 kB / 0.5931 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3641, allocations: 1.125 kB / 0.5931 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.369, allocations: 2.093 MB / 0.5952 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.369, allocations: 2.281 kB / 0.5952 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.3693, allocations: 84.25 kB / 0.5952 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.3724, allocations: 0.7861 MB / 0.596 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.3724, allocations: 11.53 kB / 0.596 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004696/0.3771, allocations: 4.61 MB / 0.6005 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3771, allocations: 1.656 kB / 0.6005 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.381, allocations: 1.471 MB / 0.602 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.3812, allocations: 186.5 kB / 0.6021 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3813, allocations: 2.625 kB / 0.6021 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.3818, allocations: 96.48 kB / 0.6022 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.3819, allocations: 30.23 kB / 0.6023 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.382, allocations: 9.188 kB / 0.6023 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.3823, allocations: 314.2 kB / 0.6026 GB, free: 23.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3823, allocations: 0 / 0.6026 GB, free: 23.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007138/0.383, allocations: 201.8 kB / 0.6028 GB, free: 23.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004016/0.387, allocations: 2.238 MB / 0.6049 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.3899, allocations: 1.624 MB / 0.6065 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3899, allocations: 0 / 0.6065 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3909, allocations: 0.6685 MB / 0.6072 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.0004681/0.3914, allocations: 126.6 kB / 0.6073 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/0.3992, allocations: 5.402 MB / 0.6126 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3995, allocations: 0.9249 MB / 0.6135 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.4, allocations: 157.9 kB / 0.6136 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4002, allocations: 138.1 kB / 0.6138 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4002, allocations: 4 kB / 0.6138 GB, free: 15.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.263/2.663, allocations: 15.84 MB / 0.6292 GB, free: 4.242 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/2.663, allocations: 223.1 kB / 0.6295 GB, free: 4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/5.559, allocations: 0 / 0.6295 GB, free: 4 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: