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.001709/0.001709, allocations: 179.4 kB / 15.8 MB, free: 6.34 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.504/1.504, allocations: 223.2 MB / 239.7 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 97.5 kB / 290.9 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05135/0.05135, allocations: 8.111 MB / 350.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.000394, allocations: 8 kB / 413.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 52.52 MB / 465.7 MB, free: 69.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4744, allocations: 79.88 MB / 0.5328 GB, free: 5.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4747, allocations: 63.97 kB / 0.5329 GB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02615/0.5009, allocations: 9.634 MB / 0.5423 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.501, allocations: 4 kB / 0.5423 GB, free: 11.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.501, allocations: 4 kB / 0.5423 GB, free: 11.82 MB / 378.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.002891/0.5039, allocations: 0.7648 MB / 0.543 GB, free: 11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.504, allocations: 8.031 kB / 0.543 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.5042, allocations: 54.55 kB / 0.5431 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.5043, allocations: 27.72 kB / 0.5431 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.505, allocations: 278.5 kB / 0.5434 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.505, allocations: 16.38 kB / 0.5434 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.5051, allocations: 23.95 kB / 0.5434 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.5059, allocations: 343.1 kB / 0.5437 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5059, allocations: 4 kB / 0.5437 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.506, allocations: 4 kB / 0.5437 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.506, allocations: 4 kB / 0.5437 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.5065, allocations: 299.3 kB / 0.544 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.5091, allocations: 1.44 MB / 0.5454 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5101, allocations: 374.6 kB / 0.5458 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.5104, allocations: 97.09 kB / 0.5459 GB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.5104, allocations: 38.5 kB / 0.5459 GB, free: 7.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.445e-06/0.5104, allocations: 0 / 0.5459 GB, free: 7.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003867/0.5143, allocations: 1.143 MB / 0.547 GB, free: 6.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5144, allocations: 110.8 kB / 0.5472 GB, free: 6.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.5146, allocations: 198.4 kB / 0.5473 GB, free: 6.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.5147, allocations: 33.7 kB / 0.5474 GB, free: 6.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5148, allocations: 144.3 kB / 0.5475 GB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.313e-05/0.5149, allocations: 98.58 kB / 0.5476 GB, free: 5.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.5149, allocations: 8 kB / 0.5476 GB, free: 5.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5151, allocations: 331.3 kB / 0.5479 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.5154, allocations: 152.5 kB / 0.5481 GB, free: 5.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.5157, allocations: 210.1 kB / 0.5483 GB, free: 5.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.516, allocations: 172.1 kB / 0.5484 GB, free: 5.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.516, allocations: 0 / 0.5484 GB, free: 5.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002077/0.5181, allocations: 0.7056 MB / 0.5491 GB, free: 4.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.5181, allocations: 4 kB / 0.5491 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5181, allocations: 4 kB / 0.5491 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.5201, allocations: 381.3 kB / 0.5495 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.5204, allocations: 47.91 kB / 0.5495 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3494/0.8698, allocations: 3.8 MB / 0.5533 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.8704, allocations: 30.58 kB / 0.5533 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.8704, allocations: 12.27 kB / 0.5533 GB, free: 88.2 MB / 378.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 () * Number of clocked 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.0002407/0.8707, allocations: 142.9 kB / 0.5534 GB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.8708, allocations: 29.55 kB / 0.5535 GB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.8736, allocations: 0.765 MB / 0.5542 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8737, allocations: 3.891 kB / 0.5542 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.8737, allocations: 8.25 kB / 0.5542 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.8737, allocations: 1.266 kB / 0.5542 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00084/0.8745, allocations: 468.9 kB / 0.5547 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8746, allocations: 0 / 0.5547 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.8748, allocations: 38.83 kB / 0.5547 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.8769, allocations: 383 kB / 0.5551 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.877, allocations: 5.5 kB / 0.5551 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.8821, allocations: 3.797 MB / 0.5588 GB, free: 85.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8822, allocations: 0.7031 kB / 0.5588 GB, free: 85.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.8844, allocations: 0.7119 MB / 0.5595 GB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.8845, allocations: 105.8 kB / 0.5596 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.8846, allocations: 12.28 kB / 0.5596 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.8849, allocations: 14.67 kB / 0.5596 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.885, allocations: 30.08 kB / 0.5596 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.885, allocations: 11.97 kB / 0.5596 GB, free: 85.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.8852, allocations: 170 kB / 0.5598 GB, free: 85.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8852, allocations: 2.344 kB / 0.5598 GB, free: 85.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006/0.8858, allocations: 115.3 kB / 0.5599 GB, free: 85.01 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 () * Number of clocked 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.002493/0.8883, allocations: 1.273 MB / 0.5612 GB, free: 84.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.89, allocations: 0.6821 MB / 0.5618 GB, free: 84.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.89, allocations: 1.344 kB / 0.5618 GB, free: 84.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.8912, allocations: 0.5156 MB / 0.5623 GB, free: 83.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.8914, allocations: 20.83 kB / 0.5624 GB, free: 83.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.8965, allocations: 2.566 MB / 0.5649 GB, free: 82.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.8968, allocations: 0.7618 MB / 0.5656 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.8969, allocations: 35.52 kB / 0.5656 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.8971, allocations: 88.14 kB / 0.5657 GB, free: 81.69 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.8971, allocations: 0 / 0.5657 GB, free: 81.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.9204, allocations: 8.277 MB / 0.5738 GB, free: 80 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.9206, allocations: 206 kB / 0.574 GB, free: 79.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.974, allocations: 0 / 0.574 GB, free: 79.77 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)