Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009858/0.0009857, allocations: 180.9 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 230 MB, free: 7.605 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008866, allocations: 97.58 kB / 280.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0531/0.0531, allocations: 8.104 MB / 339.8 MB, free: 7.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.251e-05, allocations: 3.312 kB / 398.6 MB, free: 49.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 52.52 MB / 451.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.2385, allocations: 78.63 MB / 0.5173 GB, free: 6.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.2388, allocations: 63.97 kB / 0.5174 GB, free: 6.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2766/0.5154, allocations: 11.46 MB / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5154, allocations: 0 / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.5155, allocations: 4.312 kB / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002218/0.5177, allocations: 0.7806 MB / 0.5293 GB, free: 77.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5177, allocations: 13.55 kB / 0.5293 GB, free: 77.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.5179, allocations: 48.91 kB / 0.5294 GB, free: 77.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.5183, allocations: 338 kB / 0.5297 GB, free: 77.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.5184, allocations: 13.75 kB / 0.5297 GB, free: 77.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.5184, allocations: 14.62 kB / 0.5297 GB, free: 77.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006589/0.5191, allocations: 385.9 kB / 0.5301 GB, free: 77.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.5199, allocations: 373.7 kB / 0.5305 GB, free: 77.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.52, allocations: 0 / 0.5305 GB, free: 77.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.52, allocations: 5.375 kB / 0.5305 GB, free: 77.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.5201, allocations: 11.16 kB / 0.5305 GB, free: 77.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.5234, allocations: 1.594 MB / 0.532 GB, free: 76.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.5246, allocations: 0.5098 MB / 0.5325 GB, free: 76.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.525, allocations: 263.9 kB / 0.5328 GB, free: 76.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.5252, allocations: 90.77 kB / 0.5329 GB, free: 76.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.5253, allocations: 41.12 kB / 0.5329 GB, free: 76.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.5253, allocations: 0 / 0.5329 GB, free: 76.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.00251/0.5278, allocations: 0.8187 MB / 0.5337 GB, free: 76.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5278, allocations: 57.66 kB / 0.5338 GB, free: 76.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.5283, allocations: 264.4 kB / 0.534 GB, free: 76.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.5283, allocations: 26.73 kB / 0.534 GB, free: 76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5285, allocations: 174.6 kB / 0.5342 GB, free: 75.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5287, allocations: 142.5 kB / 0.5343 GB, free: 75.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.5287, allocations: 0 / 0.5343 GB, free: 75.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5288, allocations: 345 kB / 0.5347 GB, free: 75.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.5292, allocations: 214.1 kB / 0.5349 GB, free: 75.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.5296, allocations: 213.6 kB / 0.5351 GB, free: 75.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.5303, allocations: 262.5 kB / 0.5353 GB, free: 75.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5303, allocations: 4 kB / 0.5353 GB, free: 75.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002398/0.5327, allocations: 0.8952 MB / 0.5362 GB, free: 75.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5328, allocations: 4.594 kB / 0.5362 GB, free: 75.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5328, allocations: 4.109 kB / 0.5362 GB, free: 75.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.5346, allocations: 407.5 kB / 0.5366 GB, free: 75.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.5349, allocations: 57.17 kB / 0.5367 GB, free: 75.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.5404, allocations: 5.402 MB / 0.5419 GB, free: 71.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.5409, allocations: 22.84 kB / 0.542 GB, free: 71.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.541, allocations: 14.73 kB / 0.542 GB, free: 71.19 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.5412, allocations: 112.7 kB / 0.5421 GB, free: 71.08 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002034/0.5432, allocations: 0.8347 MB / 0.5429 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.5433, allocations: 40.59 kB / 0.5429 GB, free: 70.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5455, allocations: 0.9262 MB / 0.5438 GB, free: 70.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5455, allocations: 7.922 kB / 0.5438 GB, free: 70.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5455, allocations: 3.969 kB / 0.5438 GB, free: 70.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5455, allocations: 4 kB / 0.5438 GB, free: 70.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.546, allocations: 0.5539 MB / 0.5444 GB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5461, allocations: 0 / 0.5444 GB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5463, allocations: 56.7 kB / 0.5444 GB, free: 69.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.5477, allocations: 395 kB / 0.5448 GB, free: 69.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.5478, allocations: 7.844 kB / 0.5448 GB, free: 69.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/0.5521, allocations: 5.41 MB / 0.5501 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5521, allocations: 0 / 0.5501 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5542, allocations: 0.9713 MB / 0.5511 GB, free: 64.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5543, allocations: 127.3 kB / 0.5512 GB, free: 64.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.5544, allocations: 4 kB / 0.5512 GB, free: 64.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.5548, allocations: 22.7 kB / 0.5512 GB, free: 64.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.5549, allocations: 35.34 kB / 0.5512 GB, free: 64.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.5549, allocations: 16 kB / 0.5513 GB, free: 64.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.5551, allocations: 200.5 kB / 0.5514 GB, free: 63.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5551, allocations: 0 / 0.5514 GB, free: 63.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006447/0.5558, allocations: 151.8 kB / 0.5516 GB, free: 63.73 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.5581, allocations: 1.516 MB / 0.5531 GB, free: 62.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.5599, allocations: 0.9578 MB / 0.554 GB, free: 61.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.5599, allocations: 0 / 0.554 GB, free: 61.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.5611, allocations: 0.6988 MB / 0.5547 GB, free: 60.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.5615, allocations: 32.88 kB / 0.5547 GB, free: 60.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.5626, allocations: 0.5325 MB / 0.5552 GB, free: 59.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5628, allocations: 0.8053 MB / 0.556 GB, free: 59.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.563, allocations: 51.17 kB / 0.5561 GB, free: 59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5631, allocations: 119.4 kB / 0.5562 GB, free: 58.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5632, allocations: 0 / 0.5562 GB, free: 58.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.5948, allocations: 11.84 MB / 0.5677 GB, free: 47.11 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.595, allocations: 137.5 kB / 0.5679 GB, free: 46.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.787, allocations: 0 / 0.5679 GB, free: 46.92 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)