Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.00129/0.00129, allocations: 102.1 kB / 16.45 MB, free: 6.438 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.001291/0.001291, 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.08327/0.08327, allocations: 8.092 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.88 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09867, allocations: 51.51 MB / 465.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00297/0.1017, allocations: 1.699 MB / 467.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.104, allocations: 1.559 MB / 468.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.1041, allocations: 7.938 kB / 468.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.1045, allocations: 123.3 kB / 468.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.1049, allocations: 127.2 kB / 469 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.1067, allocations: 0.9178 MB / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.1071, allocations: 266.7 kB / 470.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1073, allocations: 96.56 kB / 470.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1074, allocations: 111.6 kB / 470.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1076, allocations: 139.4 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.1077, allocations: 20 kB / 470.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1081, allocations: 211.8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.1081, allocations: 43.84 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1083, allocations: 139.3 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.1089, allocations: 422.8 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1089, allocations: 3.938 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1089, allocations: 0 / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1089, allocations: 0 / 471.3 MB, free: 12.82 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002698/0.1116, allocations: 0.8534 MB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1117, allocations: 15.89 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.1117, allocations: 50.73 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.1118, allocations: 28.8 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1122, allocations: 268.7 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1122, allocations: 16.81 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1123, allocations: 24.38 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.1128, allocations: 291.8 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1128, allocations: 7.938 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1128, allocations: 4 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1128, allocations: 4 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.1133, allocations: 281.6 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1149, allocations: 1.035 MB / 474.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.116, allocations: 455.8 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.1163, allocations: 181.3 kB / 474.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.1164, allocations: 8 kB / 474.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.1164, allocations: 46.5 kB / 474.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.1164, allocations: 0 / 474.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003181/0.1196, allocations: 0.9522 MB / 475.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1197, allocations: 51.41 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1199, allocations: 219.8 kB / 476.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.12, allocations: 33.7 kB / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1201, allocations: 144.8 kB / 476.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.1202, allocations: 107 kB / 476.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1203, allocations: 69.64 kB / 476.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1205, allocations: 334.8 kB / 476.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.1208, allocations: 175.9 kB / 476.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1211, allocations: 179.9 kB / 477.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.1217, allocations: 389.2 kB / 477.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1217, allocations: 4 kB / 477.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001523/0.1233, allocations: 0.6656 MB / 478.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1233, allocations: 7.938 kB / 478.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1233, allocations: 0 / 478.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.1244, allocations: 252.5 kB / 478.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1246, allocations: 55.91 kB / 478.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.1288, allocations: 2.696 MB / 481.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.1291, allocations: 27.72 kB / 481.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.1291, allocations: 16 kB / 481.2 MB, free: 2.469 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.1293, allocations: 147.1 kB / 481.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.1294, allocations: 23.86 kB / 481.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.1309, allocations: 0.6062 MB / 482 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1309, allocations: 7.984 kB / 482 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1309, allocations: 0 / 482 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1309, allocations: 3.938 kB / 482 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.1328, allocations: 1.058 MB / 483.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1329, allocations: 0 / 483.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.133, allocations: 27.98 kB / 483.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.134, allocations: 256.4 kB / 483.3 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.134, allocations: 7.938 kB / 483.3 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.1378, allocations: 2.657 MB / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1379, allocations: 0 / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1393, allocations: 0.6575 MB / 486.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.1394, allocations: 100.9 kB / 486.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1394, allocations: 4 kB / 486.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1397, allocations: 15.98 kB / 486.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.1397, allocations: 23.97 kB / 486.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.1398, allocations: 12 kB / 486.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.14, allocations: 166.9 kB / 487 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.14, allocations: 0 / 487 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.1406, allocations: 115.9 kB / 487.1 MB, free: 12.33 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.1425, allocations: 1.201 MB / 488.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1439, allocations: 0.6232 MB / 488.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1439, allocations: 0 / 488.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.1448, allocations: 398.9 kB / 489.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1451, allocations: 31.22 kB / 489.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.1508, allocations: 3.383 MB / 492.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.1513, allocations: 0.7524 MB / 493.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1514, allocations: 25.92 kB / 493.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1515, allocations: 71.41 kB / 493.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1515, allocations: 4 kB / 493.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.187, allocations: 9.038 MB / 0.4908 GB, free: 12.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.03, allocations: 15.34 kB / 0.4908 GB, free: 12.76 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)