Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001501/0.001501, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.44/1.44, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 112.5 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1781/0.1781, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 15.98 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09913, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4259, allocations: 90.25 MB / 0.5345 GB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4262, allocations: 88.14 kB / 0.5346 GB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01911/0.4454, allocations: 7.385 MB / 0.5418 GB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4454, allocations: 0 / 0.5418 GB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.4454, allocations: 4 kB / 0.5418 GB, free: 14.46 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001009/0.4465, allocations: 0.6464 MB / 0.5425 GB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4465, allocations: 12.02 kB / 0.5425 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.4466, allocations: 58.92 kB / 0.5425 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.4467, allocations: 43.52 kB / 0.5426 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.4487, allocations: 0.8028 MB / 0.5434 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4488, allocations: 25.12 kB / 0.5434 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.4488, allocations: 30.88 kB / 0.5434 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.4494, allocations: 342.1 kB / 0.5437 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4494, allocations: 3.938 kB / 0.5437 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.4495, allocations: 21.83 kB / 0.5438 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4495, allocations: 11.94 kB / 0.5438 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.4499, allocations: 231.5 kB / 0.544 GB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.4518, allocations: 1.362 MB / 0.5453 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.4522, allocations: 170.2 kB / 0.5455 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4522, allocations: 4.062 kB / 0.5455 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4522, allocations: 34.5 kB / 0.5455 GB, free: 10.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/0.4522, allocations: 0 / 0.5455 GB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001513/0.4538, allocations: 0.7493 MB / 0.5463 GB, free: 10.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.4538, allocations: 85.05 kB / 0.5463 GB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.4542, allocations: 261.7 kB / 0.5466 GB, free: 9.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.4542, allocations: 25.7 kB / 0.5466 GB, free: 9.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4544, allocations: 221.3 kB / 0.5468 GB, free: 9.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.4544, allocations: 56.45 kB / 0.5469 GB, free: 9.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.4545, allocations: 6.938 kB / 0.5469 GB, free: 9.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4546, allocations: 332.9 kB / 0.5472 GB, free: 9.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.4548, allocations: 75.42 kB / 0.5473 GB, free: 9.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.4549, allocations: 160 kB / 0.5474 GB, free: 9.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4551, allocations: 96.72 kB / 0.5475 GB, free: 9.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4551, allocations: 3.953 kB / 0.5475 GB, free: 9.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005268/0.4556, allocations: 310.2 kB / 0.5478 GB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4557, allocations: 7.984 kB / 0.5478 GB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4557, allocations: 4.438 kB / 0.5478 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.456, allocations: 50.95 kB / 0.5479 GB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.4562, allocations: 47.91 kB / 0.5479 GB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.4575, allocations: 1.48 MB / 0.5494 GB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4577, allocations: 7.625 kB / 0.5494 GB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.4577, allocations: 11.38 kB / 0.5494 GB, free: 7.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.4579, allocations: 173.9 kB / 0.5495 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.4579, allocations: 29.62 kB / 0.5496 GB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.4584, allocations: 235 kB / 0.5498 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4584, allocations: 4 kB / 0.5498 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4584, allocations: 0 / 0.5498 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4584, allocations: 7.922 kB / 0.5498 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.4592, allocations: 0.6278 MB / 0.5504 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4593, allocations: 4 kB / 0.5504 GB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.4594, allocations: 23.42 kB / 0.5505 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.4596, allocations: 52.33 kB / 0.5505 GB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.4596, allocations: 11.45 kB / 0.5505 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.4607, allocations: 1.486 MB / 0.552 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4608, allocations: 4.031 kB / 0.552 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.4612, allocations: 422.5 kB / 0.5524 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.4613, allocations: 99.73 kB / 0.5525 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4614, allocations: 11.3 kB / 0.5525 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4615, allocations: 0 / 0.5525 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.4615, allocations: 14.92 kB / 0.5525 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4616, allocations: 7.953 kB / 0.5525 GB, free: 4.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.4617, allocations: 207.8 kB / 0.5527 GB, free: 3.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4618, allocations: 0 / 0.5527 GB, free: 3.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.4621, allocations: 75.3 kB / 0.5528 GB, free: 3.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008385/0.463, allocations: 1.106 MB / 0.5538 GB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.4635, allocations: 278.6 kB / 0.5541 GB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4635, allocations: 7.625 kB / 0.5541 GB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.4638, allocations: 197 kB / 0.5543 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.4642, allocations: 66.95 kB / 0.5544 GB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.4674, allocations: 4.066 MB / 0.5583 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.4678, allocations: 0.8174 MB / 0.5591 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.468, allocations: 46.95 kB / 0.5592 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4681, allocations: 99.45 kB / 0.5593 GB, free: 13.37 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4681, allocations: 0 / 0.5593 GB, free: 13.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.4855, allocations: 5.657 MB / 0.5648 GB, free: 7.734 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.4858, allocations: 211.8 kB / 0.565 GB, free: 7.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.439, allocations: 0 / 0.565 GB, free: 7.48 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)