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.001072/0.001072, allocations: 179.6 kB / 8.352 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.577/1.577, allocations: 194.3 MB / 203.1 MB, free: 13.04 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.001851/0.001851, allocations: 112.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 37.94 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.61e-05, allocations: 0 / 390.5 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2764, allocations: 53.23 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4028, allocations: 89.49 MB / 0.5207 GB, free: 8.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.4032, allocations: 87.95 kB / 0.5208 GB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.4259, allocations: 7.32 MB / 0.5279 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4259, allocations: 0 / 0.5279 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.426, allocations: 8 kB / 0.5279 GB, free: 0.5508 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.2648/0.6908, allocations: 0.5839 MB / 0.5285 GB, free: 88.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.6908, allocations: 9.062 kB / 0.5285 GB, free: 88.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.6911, allocations: 38.41 kB / 0.5285 GB, free: 88.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.6942, allocations: 0.7899 MB / 0.5293 GB, free: 88.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.6943, allocations: 8.172 kB / 0.5293 GB, free: 88.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.6944, allocations: 19.5 kB / 0.5293 GB, free: 88.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006194/0.695, allocations: 208.4 kB / 0.5295 GB, free: 88.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.6957, allocations: 307 kB / 0.5298 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6957, allocations: 1.219 kB / 0.5298 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.6957, allocations: 5.109 kB / 0.5298 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.6957, allocations: 7.516 kB / 0.5298 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.6977, allocations: 1.309 MB / 0.5311 GB, free: 87.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.6981, allocations: 151.5 kB / 0.5313 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.6983, allocations: 101.5 kB / 0.5314 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.6984, allocations: 0.75 kB / 0.5314 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.6984, allocations: 40.09 kB / 0.5314 GB, free: 87.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.978e-06/0.6984, allocations: 3.5 kB / 0.5314 GB, free: 87.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001179/0.6996, allocations: 0.5767 MB / 0.532 GB, free: 86.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.6997, allocations: 80.39 kB / 0.532 GB, free: 86.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.7, allocations: 246.3 kB / 0.5323 GB, free: 86.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.7, allocations: 25.7 kB / 0.5323 GB, free: 86.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.7001, allocations: 220.2 kB / 0.5325 GB, free: 86.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.7002, allocations: 51.06 kB / 0.5326 GB, free: 86.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.7002, allocations: 1.469 kB / 0.5326 GB, free: 86.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.7003, allocations: 343.8 kB / 0.5329 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.7004, allocations: 53.89 kB / 0.5329 GB, free: 85.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.7006, allocations: 153.4 kB / 0.5331 GB, free: 85.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.7008, allocations: 85.47 kB / 0.5332 GB, free: 85.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7008, allocations: 3.062 kB / 0.5332 GB, free: 85.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005213/0.7013, allocations: 281.9 kB / 0.5334 GB, free: 85.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.7014, allocations: 6.938 kB / 0.5334 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7014, allocations: 4.094 kB / 0.5334 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.7016, allocations: 44.56 kB / 0.5335 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.7019, allocations: 52.88 kB / 0.5335 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.7032, allocations: 1.409 MB / 0.5349 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7034, allocations: 4.609 kB / 0.5349 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.7035, allocations: 12.98 kB / 0.5349 GB, free: 84.57 MB / 378.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 () * 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 9.047e-05/0.7036, allocations: 109.5 kB / 0.535 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000376/0.7039, allocations: 208 kB / 0.5352 GB, free: 84.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.704, allocations: 23.89 kB / 0.5353 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.7045, allocations: 216.8 kB / 0.5355 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7045, allocations: 2.062 kB / 0.5355 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7045, allocations: 6.469 kB / 0.5355 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.7045, allocations: 1.75 kB / 0.5355 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/0.7055, allocations: 0.5742 MB / 0.536 GB, free: 84.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.7055, allocations: 1.094 kB / 0.536 GB, free: 84.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.7056, allocations: 21.78 kB / 0.5361 GB, free: 84.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.7058, allocations: 59.59 kB / 0.5361 GB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7059, allocations: 11.03 kB / 0.5361 GB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.707, allocations: 1.397 MB / 0.5375 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.707, allocations: 5.234 kB / 0.5375 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.7076, allocations: 402.8 kB / 0.5379 GB, free: 82.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.7077, allocations: 110.5 kB / 0.538 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.7078, allocations: 3.375 kB / 0.538 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.7079, allocations: 1.656 kB / 0.538 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.708, allocations: 11.23 kB / 0.538 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.708, allocations: 16.73 kB / 0.538 GB, free: 82.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.7083, allocations: 193.7 kB / 0.5382 GB, free: 82.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7083, allocations: 0 / 0.5382 GB, free: 82.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005317/0.7088, allocations: 64.88 kB / 0.5383 GB, free: 82.34 MB / 378.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 () * 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.0009298/0.7097, allocations: 1.072 MB / 0.5393 GB, free: 81.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.7103, allocations: 267.8 kB / 0.5396 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7103, allocations: 1.406 kB / 0.5396 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.7107, allocations: 188.3 kB / 0.5397 GB, free: 81.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.7111, allocations: 52.61 kB / 0.5398 GB, free: 81.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.7125, allocations: 0.6077 MB / 0.5404 GB, free: 80.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.7128, allocations: 0.8132 MB / 0.5412 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.713, allocations: 48.81 kB / 0.5412 GB, free: 80.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.7132, allocations: 99.91 kB / 0.5413 GB, free: 79.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7132, allocations: 0 / 0.5413 GB, free: 79.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.7401, allocations: 5.053 MB / 0.5463 GB, free: 79.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.7403, allocations: 138.4 kB / 0.5464 GB, free: 79.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.763, allocations: 3.938 kB / 0.5464 GB, free: 79.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)