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.001889/0.001889, allocations: 104.6 kB / 16.45 MB, free: 6.387 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.00191/0.00191, allocations: 186 kB / 17.38 MB, free: 5.652 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04965/0.04965, allocations: 8.097 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.00198, allocations: 71.88 kB / 414 MB, free: 22.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.114, allocations: 51.52 MB / 465.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002844/0.1169, allocations: 1.687 MB / 467.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1192, allocations: 1.555 MB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.1194, allocations: 4 kB / 468.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.1199, allocations: 123.3 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.1204, allocations: 135.1 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1222, allocations: 0.9334 MB / 469.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.1227, allocations: 258.8 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1229, allocations: 88.58 kB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1231, allocations: 111.6 kB / 470.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.1233, allocations: 147.4 kB / 470.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1234, allocations: 20 kB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.1238, allocations: 207.8 kB / 470.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.1239, allocations: 51.77 kB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1241, allocations: 131.3 kB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.1247, allocations: 414.5 kB / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1247, allocations: 0 / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1247, allocations: 4 kB / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1247, allocations: 0 / 471.3 MB, free: 12.78 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.002668/0.1274, allocations: 0.8422 MB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1275, allocations: 15.83 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.331e-05/0.1275, allocations: 54.73 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.1276, allocations: 28.66 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.128, allocations: 276.6 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.128, allocations: 12.81 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.1281, allocations: 28.36 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.1286, allocations: 287.8 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1286, allocations: 3.938 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1286, allocations: 8 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1287, allocations: 4 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.1291, allocations: 277.6 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1307, allocations: 1.031 MB / 474.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/0.1318, allocations: 463.7 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.132, allocations: 181.3 kB / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.1321, allocations: 8 kB / 474.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1322, allocations: 38.5 kB / 474.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.1322, allocations: 0 / 474.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003007/0.1352, allocations: 0.9522 MB / 475.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1352, allocations: 55.41 kB / 475.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1355, allocations: 219.8 kB / 476.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.1355, allocations: 33.7 kB / 476.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1357, allocations: 136.6 kB / 476.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/0.1358, allocations: 102.5 kB / 476.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1359, allocations: 73.64 kB / 476.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.136, allocations: 338.8 kB / 476.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1363, allocations: 171.9 kB / 476.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.1366, allocations: 183.9 kB / 477.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.1372, allocations: 393.2 kB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1372, allocations: 0 / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00141/0.1386, allocations: 0.6578 MB / 478.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1386, allocations: 18.27 kB / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1386, allocations: 0 / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.1397, allocations: 248.5 kB / 478.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.1399, allocations: 55.97 kB / 478.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.1436, allocations: 2.691 MB / 481.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.1439, allocations: 31.56 kB / 481.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/0.144, allocations: 15.98 kB / 481.2 MB, free: 2.449 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.0001742/0.1441, allocations: 139.2 kB / 481.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.1442, allocations: 23.72 kB / 481.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.1456, allocations: 0.6101 MB / 482 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1456, allocations: 4 kB / 482 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1456, allocations: 0 / 482 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1456, allocations: 7.938 kB / 482 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.1474, allocations: 1.05 MB / 483 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1474, allocations: 4 kB / 483 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1475, allocations: 27.98 kB / 483 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/0.1485, allocations: 252.8 kB / 483.3 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.1485, allocations: 7.938 kB / 483.3 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.1522, allocations: 2.661 MB / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1522, allocations: 96 / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.1536, allocations: 0.6651 MB / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.1537, allocations: 96.8 kB / 486.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.1537, allocations: 8 kB / 486.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.154, allocations: 11.98 kB / 486.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.1541, allocations: 23.97 kB / 486.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1541, allocations: 12 kB / 486.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1543, allocations: 159 kB / 486.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1543, allocations: 4 kB / 486.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.1548, allocations: 115.9 kB / 487 MB, free: 12.32 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.001669/0.1565, allocations: 1.201 MB / 488.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.1578, allocations: 0.6232 MB / 488.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1578, allocations: 0 / 488.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.1586, allocations: 399 kB / 489.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.159, allocations: 20 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.005309/0.1643, allocations: 3.379 MB / 492.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1647, allocations: 0.7523 MB / 493.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1648, allocations: 37.86 kB / 493.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1649, allocations: 75.39 kB / 493.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.165, allocations: 0 / 493.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.1981, allocations: 9.303 MB / 0.491 GB, free: 12.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.86, allocations: 21.89 kB / 0.4911 GB, free: 12.48 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)