Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.001432/0.001431, allocations: 105.9 kB / 16.45 MB, free: 6.43 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.001498/0.001498, allocations: 189.4 kB / 17.38 MB, free: 5.688 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05529/0.05529, allocations: 8.101 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.0866, allocations: 51.52 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002657/0.0893, allocations: 1.563 MB / 467.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.09136, allocations: 1.543 MB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.09145, allocations: 4 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.09179, allocations: 123.3 kB / 468.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.0921, allocations: 115.3 kB / 468.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.09375, allocations: 0.9217 MB / 469.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.09408, allocations: 238.8 kB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.09425, allocations: 76.34 kB / 470.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.09437, allocations: 99.64 kB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.09458, allocations: 127.5 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.09463, allocations: 16 kB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.09499, allocations: 203.8 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.09505, allocations: 51.77 kB / 470.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.09518, allocations: 111.5 kB / 470.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.09569, allocations: 394.8 kB / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.09571, allocations: 0 / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09571, allocations: 0 / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09572, allocations: 0 / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002441/0.09818, allocations: 0.8183 MB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.09822, allocations: 11.89 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.0983, allocations: 54.73 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.09836, allocations: 24.8 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.0987, allocations: 267.9 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.09873, allocations: 12.7 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.09877, allocations: 20.38 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.09921, allocations: 260 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.09923, allocations: 3.938 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.09926, allocations: 8 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.09928, allocations: 4 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.09967, allocations: 239.9 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1012, allocations: 1.121 MB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.1019, allocations: 318.4 kB / 474.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.1022, allocations: 157.3 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.1022, allocations: 11.92 kB / 474.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1023, allocations: 30.56 kB / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.1023, allocations: 0 / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003341/0.1056, allocations: 0.9875 MB / 475.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1057, allocations: 51.41 kB / 475.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1059, allocations: 194.4 kB / 475.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.1059, allocations: 29.7 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.106, allocations: 124.6 kB / 475.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/0.1061, allocations: 99.2 kB / 475.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1062, allocations: 65.64 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1064, allocations: 330.8 kB / 476.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1067, allocations: 155.9 kB / 476.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.1069, allocations: 164.9 kB / 476.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.1075, allocations: 350.4 kB / 476.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1075, allocations: 0 / 476.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001617/0.1091, allocations: 0.6382 MB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1091, allocations: 4 kB / 477.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1092, allocations: 4 kB / 477.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.1106, allocations: 320.5 kB / 477.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.1108, allocations: 43.97 kB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/0.1153, allocations: 2.762 MB / 480.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1155, allocations: 27.83 kB / 480.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.1156, allocations: 12 kB / 480.7 MB, free: 2.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.1157, allocations: 137.8 kB / 480.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.1158, allocations: 23.86 kB / 480.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1174, allocations: 0.6168 MB / 481.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1175, allocations: 4 kB / 481.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1175, allocations: 3.938 kB / 481.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1175, allocations: 0 / 481.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.1179, allocations: 381.3 kB / 481.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1179, allocations: 0 / 481.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.118, allocations: 31.98 kB / 481.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.1195, allocations: 324.4 kB / 482.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1195, allocations: 4 kB / 482.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004232/0.1237, allocations: 2.731 MB / 484.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1237, allocations: 3.938 kB / 484.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.1253, allocations: 0.6762 MB / 485.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.1254, allocations: 96.94 kB / 485.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1255, allocations: 8 kB / 485.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.1257, allocations: 11.75 kB / 485.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.1258, allocations: 27.95 kB / 485.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.1258, allocations: 4 kB / 485.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1259, allocations: 143.2 kB / 485.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.126, allocations: 0 / 485.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.1264, allocations: 104 kB / 486 MB, free: 13.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001981/0.1284, allocations: 1.232 MB / 487.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.13, allocations: 0.6155 MB / 487.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.13, allocations: 8 kB / 487.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.1311, allocations: 442.3 kB / 488.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1314, allocations: 27.75 kB / 488.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.137, allocations: 3.249 MB / 491.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.1374, allocations: 0.7485 MB / 492.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1375, allocations: 29.91 kB / 492.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1377, allocations: 63.42 kB / 492.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1377, allocations: 0 / 492.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.1755, allocations: 8.408 MB / 0.4891 GB, free: 14.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.88, allocations: 14.67 kB / 0.4891 GB, free: 14.53 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)