Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001651/0.00165, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.4 MB / 235.1 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009454, allocations: 85.47 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04972/0.04972, allocations: 8.106 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.644e-05, allocations: 7.984 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 52.51 MB / 458.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5848, allocations: 80.07 MB / 0.5255 GB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5851, allocations: 60.45 kB / 0.5256 GB, free: 5.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.6103, allocations: 9.601 MB / 0.535 GB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6104, allocations: 0 / 0.535 GB, free: 14.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.6104, allocations: 4 kB / 0.535 GB, free: 14.15 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.002373/0.6128, allocations: 0.731 MB / 0.5357 GB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.6129, allocations: 8.031 kB / 0.5357 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.613, allocations: 56.91 kB / 0.5358 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.613, allocations: 27.72 kB / 0.5358 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.6135, allocations: 278 kB / 0.536 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6135, allocations: 17.86 kB / 0.5361 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.6136, allocations: 19.33 kB / 0.5361 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.6142, allocations: 351.6 kB / 0.5364 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6142, allocations: 0 / 0.5364 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.6142, allocations: 7.125 kB / 0.5364 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.6142, allocations: 8 kB / 0.5364 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.6147, allocations: 290.5 kB / 0.5367 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.6167, allocations: 1.442 MB / 0.5381 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/0.6176, allocations: 366.6 kB / 0.5385 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.6178, allocations: 177.3 kB / 0.5386 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.618, allocations: 93.14 kB / 0.5387 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.6181, allocations: 45.69 kB / 0.5388 GB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.824e-06/0.6181, allocations: 0 / 0.5388 GB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001946/0.62, allocations: 0.652 MB / 0.5394 GB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.6201, allocations: 110.8 kB / 0.5395 GB, free: 10.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.6203, allocations: 203.8 kB / 0.5397 GB, free: 10.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.6204, allocations: 28.58 kB / 0.5397 GB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.6205, allocations: 145.7 kB / 0.5399 GB, free: 9.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.735e-05/0.6205, allocations: 101.4 kB / 0.54 GB, free: 9.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.6206, allocations: 2.938 kB / 0.54 GB, free: 9.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6207, allocations: 332.9 kB / 0.5403 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.6209, allocations: 149.1 kB / 0.5404 GB, free: 9.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.6212, allocations: 197.5 kB / 0.5406 GB, free: 9.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.6215, allocations: 176.7 kB / 0.5408 GB, free: 9.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6215, allocations: 0 / 0.5408 GB, free: 9.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001862/0.6233, allocations: 0.6977 MB / 0.5415 GB, free: 8.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6234, allocations: 5.562 kB / 0.5415 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6234, allocations: 8 kB / 0.5415 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.6252, allocations: 380.7 kB / 0.5418 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.6254, allocations: 47.34 kB / 0.5419 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/0.6299, allocations: 3.718 MB / 0.5455 GB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.6303, allocations: 38.02 kB / 0.5456 GB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6303, allocations: 8 kB / 0.5456 GB, free: 4.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.6305, allocations: 123.1 kB / 0.5457 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.6306, allocations: 23.72 kB / 0.5457 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.6326, allocations: 0.757 MB / 0.5464 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6327, allocations: 4 kB / 0.5464 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6327, allocations: 8 kB / 0.5465 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6327, allocations: 0 / 0.5465 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.6332, allocations: 471.7 kB / 0.5469 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6332, allocations: 0 / 0.5469 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.6334, allocations: 39.36 kB / 0.5469 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.6351, allocations: 386.5 kB / 0.5473 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.6352, allocations: 11.55 kB / 0.5473 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.6398, allocations: 3.713 MB / 0.5509 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.6398, allocations: 3.984 kB / 0.5509 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.6418, allocations: 0.715 MB / 0.5516 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.642, allocations: 108.8 kB / 0.5518 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.642, allocations: 10.94 kB / 0.5518 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.6423, allocations: 10.56 kB / 0.5518 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.6424, allocations: 27.52 kB / 0.5518 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.6424, allocations: 7.062 kB / 0.5518 GB, free: 15.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.6426, allocations: 168.5 kB / 0.552 GB, free: 15.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6426, allocations: 0 / 0.552 GB, free: 15.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.6431, allocations: 109.9 kB / 0.5521 GB, free: 15.17 MB / 378.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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002206/0.6453, allocations: 1.274 MB / 0.5533 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.6468, allocations: 0.6741 MB / 0.554 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.6468, allocations: 4 kB / 0.554 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6478, allocations: 0.4978 MB / 0.5545 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.648, allocations: 22.8 kB / 0.5545 GB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.6493, allocations: 498.4 kB / 0.555 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.6496, allocations: 0.7691 MB / 0.5557 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.6498, allocations: 34.05 kB / 0.5557 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.6499, allocations: 88.95 kB / 0.5558 GB, free: 11.78 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6499, allocations: 224 / 0.5558 GB, free: 11.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.6722, allocations: 8.403 MB / 0.564 GB, free: 3.547 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.6725, allocations: 184.8 kB / 0.5642 GB, free: 3.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.547, allocations: 0 / 0.5642 GB, free: 3.316 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)