Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.0008389/0.0008389, allocations: 96.97 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.0008983/0.0008983, allocations: 173.2 kB / 16.56 MB, free: 6.391 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.203/1.203, 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.6075/0.6075, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005459/0.1226, allocations: 5.253 MB / 0.5619 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.1266, allocations: 2.964 MB / 0.5648 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1269, allocations: 27.75 kB / 0.5648 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1271, allocations: 107.3 kB / 0.5649 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.1278, allocations: 354.9 kB / 0.5652 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.1285, allocations: 375.1 kB / 0.5656 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.1292, allocations: 0.6532 MB / 0.5662 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.1305, allocations: 0.9137 MB / 0.5671 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.1309, allocations: 330.8 kB / 0.5674 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.1314, allocations: 346.6 kB / 0.5678 GB, free: 348 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.1314, allocations: 32 kB / 0.5678 GB, free: 316 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1318, allocations: 199.7 kB / 0.568 GB, free: 116 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.1321, allocations: 239.3 kB / 0.5682 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1323, allocations: 161.3 kB / 0.5684 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.1331, allocations: 0.8417 MB / 0.5692 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1331, allocations: 0 / 0.5692 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1331, allocations: 0 / 0.5692 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1331, allocations: 0 / 0.5692 GB, free: 14.87 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.001454/0.1346, allocations: 0.9153 MB / 0.5701 GB, free: 13.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1346, allocations: 16.03 kB / 0.5701 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.1347, allocations: 114.5 kB / 0.5702 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.136, allocations: 198.8 kB / 0.5704 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.1368, allocations: 0.5288 MB / 0.5709 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.1368, allocations: 49.3 kB / 0.571 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.1369, allocations: 56 kB / 0.571 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1383, allocations: 1.037 MB / 0.572 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.1383, allocations: 15.84 kB / 0.572 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.1384, allocations: 27.98 kB / 0.5721 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.1385, allocations: 69.27 kB / 0.5721 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.1394, allocations: 0.6879 MB / 0.5728 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.1447, allocations: 5.749 MB / 0.5784 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.1455, allocations: 0.6024 MB / 0.579 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1455, allocations: 4 kB / 0.579 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1455, allocations: 46.52 kB / 0.579 GB, free: 4.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.814e-06/0.1455, allocations: 0 / 0.579 GB, free: 4.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003652/0.1492, allocations: 1.906 MB / 0.5809 GB, free: 2.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1492, allocations: 55.41 kB / 0.581 GB, free: 2.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.1497, allocations: 454.8 kB / 0.5814 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1497, allocations: 37.7 kB / 0.5814 GB, free: 1.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.15, allocations: 387 kB / 0.5818 GB, free: 1.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1501, allocations: 153.9 kB / 0.5819 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.1501, allocations: 8 kB / 0.582 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1503, allocations: 366.7 kB / 0.5823 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1506, allocations: 229.2 kB / 0.5825 GB, free: 384 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2387/0.3893, allocations: 435.7 kB / 0.5829 GB, free: 32.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.39, allocations: 299.7 kB / 0.5832 GB, free: 32.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.39, allocations: 1.688 kB / 0.5832 GB, free: 32.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001731/0.3917, allocations: 0.9835 MB / 0.5842 GB, free: 32.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.3918, allocations: 15.17 kB / 0.5842 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3918, allocations: 6.438 kB / 0.5842 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008984/0.3927, allocations: 268.5 kB / 0.5845 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.3931, allocations: 102.8 kB / 0.5846 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/0.3983, allocations: 6.732 MB / 0.5911 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.3987, allocations: 33.14 kB / 0.5912 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.3988, allocations: 26.14 kB / 0.5912 GB, free: 26.95 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.0002868/0.3991, allocations: 245.2 kB / 0.5914 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.3992, allocations: 61.38 kB / 0.5915 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.4007, allocations: 0.837 MB / 0.5923 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4007, allocations: 6.078 kB / 0.5923 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4007, allocations: 3 kB / 0.5923 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4007, allocations: 3.906 kB / 0.5923 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.4031, allocations: 1.708 MB / 0.594 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4031, allocations: 4.531 kB / 0.594 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.4033, allocations: 54.59 kB / 0.594 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.4041, allocations: 243.5 kB / 0.5943 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.4041, allocations: 12.27 kB / 0.5943 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/0.4087, allocations: 6.456 MB / 0.6006 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4087, allocations: 7.188 kB / 0.6006 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4102, allocations: 0.9649 MB / 0.6015 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.4104, allocations: 175.2 kB / 0.6017 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.4105, allocations: 16.86 kB / 0.6017 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.4107, allocations: 20.2 kB / 0.6017 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.4109, allocations: 45.97 kB / 0.6018 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.4109, allocations: 9.375 kB / 0.6018 GB, free: 18.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.4112, allocations: 306.4 kB / 0.6021 GB, free: 18.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4112, allocations: 0 / 0.6021 GB, free: 18.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008373/0.4121, allocations: 186.9 kB / 0.6023 GB, free: 18.71 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.001619/0.4137, allocations: 1.937 MB / 0.6042 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4153, allocations: 1.143 MB / 0.6053 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4154, allocations: 0 / 0.6053 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.4163, allocations: 0.7995 MB / 0.6061 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.4171, allocations: 183.7 kB / 0.6062 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.4228, allocations: 8.422 MB / 0.6145 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.4233, allocations: 1.005 MB / 0.6154 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.4236, allocations: 103 kB / 0.6155 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.4238, allocations: 225.8 kB / 0.6157 GB, free: 8.273 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4238, allocations: 0 / 0.6157 GB, free: 8.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6255/1.049, allocations: 14 MB / 0.6294 GB, free: 2.926 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.05, allocations: 214 kB / 0.6296 GB, free: 2.688 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.982, allocations: 2.25 kB / 0.6296 GB, free: 2.688 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: