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.004488/0.004488, allocations: 89.64 kB / 15.91 MB, free: 6.305 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.0009722/0.0009722, allocations: 195.7 kB / 16.83 MB, free: 6.238 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.248/1.248, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1438/0.1438, allocations: 8.079 MB / 298.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07772, allocations: 51.52 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002622/0.08037, allocations: 1.719 MB / 414.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.08232, allocations: 1.567 MB / 415.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.08244, allocations: 4 kB / 415.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.08279, allocations: 115.5 kB / 416.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.08308, allocations: 107.4 kB / 416.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.08456, allocations: 0.8913 MB / 417.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.0849, allocations: 246.8 kB / 417.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.08507, allocations: 80.56 kB / 417.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.0852, allocations: 107.5 kB / 417.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.08539, allocations: 135.5 kB / 417.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.08543, allocations: 12 kB / 417.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.08577, allocations: 199.8 kB / 417.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.08582, allocations: 51.7 kB / 417.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.08593, allocations: 123.3 kB / 418 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.0864, allocations: 411.1 kB / 418.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.08641, allocations: 4 kB / 418.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08642, allocations: 0 / 418.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.08643, allocations: 0 / 418.4 MB, free: 4.289 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.002439/0.08887, allocations: 0.8462 MB / 419.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.08891, allocations: 8.031 kB / 419.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.08899, allocations: 58.72 kB / 419.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.08907, allocations: 32.59 kB / 419.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.08935, allocations: 252.7 kB / 419.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.08938, allocations: 20.81 kB / 419.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.08942, allocations: 24.38 kB / 419.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.08986, allocations: 287.8 kB / 419.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.08988, allocations: 7.938 kB / 419.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.08991, allocations: 8 kB / 419.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.08992, allocations: 4 kB / 419.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.09032, allocations: 277.6 kB / 420.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.09176, allocations: 1.043 MB / 421.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.09268, allocations: 455.7 kB / 421.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.09293, allocations: 177.3 kB / 421.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.09299, allocations: 12 kB / 421.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.09302, allocations: 46.48 kB / 421.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.09303, allocations: 0 / 421.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002822/0.09586, allocations: 0.9524 MB / 422.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.0959, allocations: 55.41 kB / 422.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.09612, allocations: 219.7 kB / 423.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.09616, allocations: 33.7 kB / 423.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.09624, allocations: 140.6 kB / 423.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.09632, allocations: 94.59 kB / 423.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.09644, allocations: 77.58 kB / 423.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.09657, allocations: 334.8 kB / 423.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.09682, allocations: 171.9 kB / 424 MB, free: 14.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.09709, allocations: 183.9 kB / 424.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/0.09763, allocations: 393.2 kB / 424.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.09764, allocations: 3.938 kB / 424.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001359/0.099, allocations: 0.6579 MB / 425.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.09903, allocations: 6.031 kB / 425.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.09904, allocations: 7.938 kB / 425.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.1001, allocations: 240.6 kB / 425.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1003, allocations: 47.97 kB / 425.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.1036, allocations: 2.521 MB / 428 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.1038, allocations: 27.69 kB / 428 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.1038, allocations: 15.98 kB / 428.1 MB, free: 10.17 MB / 366.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.0001271/0.104, allocations: 143.1 kB / 428.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.104, allocations: 23.72 kB / 428.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.1054, allocations: 0.6106 MB / 428.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1054, allocations: 4 kB / 428.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1054, allocations: 0 / 428.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1054, allocations: 0 / 428.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.1071, allocations: 1.061 MB / 429.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1071, allocations: 0 / 429.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1072, allocations: 27.98 kB / 429.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009365/0.1081, allocations: 240.6 kB / 430.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1081, allocations: 8 kB / 430.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.1111, allocations: 2.468 MB / 432.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1111, allocations: 0 / 432.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.1123, allocations: 0.6524 MB / 433.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1124, allocations: 104.8 kB / 433.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.1124, allocations: 7.938 kB / 433.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1126, allocations: 16 kB / 433.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.1127, allocations: 27.95 kB / 433.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1127, allocations: 8 kB / 433.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1129, allocations: 166.7 kB / 433.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1129, allocations: 0 / 433.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.1133, allocations: 119.8 kB / 433.7 MB, free: 4.242 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.001513/0.1148, allocations: 1.213 MB / 434.9 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1159, allocations: 0.6116 MB / 435.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1159, allocations: 0 / 435.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.1167, allocations: 390.4 kB / 435.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.117, allocations: 31.92 kB / 436 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1298/0.2468, allocations: 3.431 MB / 439.4 MB, free: 56.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.247, allocations: 0.7507 MB / 440.1 MB, free: 55.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.2471, allocations: 29.67 kB / 440.2 MB, free: 55.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.2472, allocations: 72.5 kB / 440.2 MB, free: 55.95 MB / 366.1 MB Notification: Performance of SimCode: time 9.51e-07/0.2473, allocations: 0 / 440.2 MB, free: 55.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.264, allocations: 8.423 MB / 448.7 MB, free: 55.44 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.2642, allocations: 226.1 kB / 448.9 MB, free: 55.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.914, allocations: 0 / 448.9 MB, free: 55.19 MB / 366.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)