Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008341/0.000834, allocations: 89.94 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1575/0.1575, allocations: 37.99 MB / 353.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.687e-05, allocations: 7.984 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 56.33 MB / 474.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5208, allocations: 95.2 MB / 0.556 GB, free: 7.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5211, allocations: 87.12 kB / 0.5561 GB, free: 7.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.5399, allocations: 7.407 MB / 0.5633 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5399, allocations: 0 / 0.5633 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.54, allocations: 12 kB / 0.5633 GB, free: 0.8672 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.0006822/0.5407, allocations: 0.5777 MB / 0.5639 GB, free: 272 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5407, allocations: 12.03 kB / 0.5639 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.5408, allocations: 58.11 kB / 0.564 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.5409, allocations: 43.83 kB / 0.564 GB, free: 164 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.5427, allocations: 0.8057 MB / 0.5648 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5428, allocations: 15.56 kB / 0.5648 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.5428, allocations: 29.25 kB / 0.5648 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.5434, allocations: 341.3 kB / 0.5652 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5434, allocations: 3.938 kB / 0.5652 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.5434, allocations: 11 kB / 0.5652 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.5434, allocations: 8 kB / 0.5652 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.5438, allocations: 228.5 kB / 0.5654 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.5455, allocations: 1.368 MB / 0.5667 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.5458, allocations: 155.8 kB / 0.5669 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.546, allocations: 102.8 kB / 0.567 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5461, allocations: 0 / 0.567 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5461, allocations: 46.5 kB / 0.567 GB, free: 13.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.5461, allocations: 0 / 0.567 GB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001084/0.5472, allocations: 0.6064 MB / 0.5676 GB, free: 12.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.5473, allocations: 77.11 kB / 0.5677 GB, free: 12.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.5475, allocations: 263.6 kB / 0.568 GB, free: 12.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5476, allocations: 29.2 kB / 0.568 GB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.5477, allocations: 220.4 kB / 0.5682 GB, free: 12.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.5478, allocations: 50.08 kB / 0.5682 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.5478, allocations: 7.438 kB / 0.5682 GB, free: 12.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5479, allocations: 345 kB / 0.5686 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5481, allocations: 69.56 kB / 0.5686 GB, free: 11.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.5482, allocations: 149.4 kB / 0.5688 GB, free: 11.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.5484, allocations: 98.88 kB / 0.5689 GB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5484, allocations: 0 / 0.5689 GB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004622/0.5489, allocations: 310.6 kB / 0.5692 GB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5489, allocations: 14.53 kB / 0.5692 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5489, allocations: 0 / 0.5692 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.5491, allocations: 47.64 kB / 0.5692 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.5493, allocations: 51.91 kB / 0.5693 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.5506, allocations: 1.453 MB / 0.5707 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.5508, allocations: 15.81 kB / 0.5707 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.5508, allocations: 11.94 kB / 0.5707 GB, free: 9.715 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.968e-05/0.5509, allocations: 125 kB / 0.5708 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.5509, allocations: 23.72 kB / 0.5709 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.5514, allocations: 234.4 kB / 0.5711 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5514, allocations: 0 / 0.5711 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5514, allocations: 0 / 0.5711 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5514, allocations: 4 kB / 0.5711 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.5523, allocations: 0.6237 MB / 0.5717 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5523, allocations: 0 / 0.5717 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5524, allocations: 27.88 kB / 0.5717 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.5526, allocations: 52.39 kB / 0.5718 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5526, allocations: 7.438 kB / 0.5718 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.5538, allocations: 1.466 MB / 0.5732 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5538, allocations: 0 / 0.5732 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.5543, allocations: 418.3 kB / 0.5736 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.5544, allocations: 108.8 kB / 0.5737 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.5545, allocations: 3.875 kB / 0.5737 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5546, allocations: 4 kB / 0.5737 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.5547, allocations: 11.05 kB / 0.5737 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5547, allocations: 7.984 kB / 0.5737 GB, free: 6.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.5549, allocations: 209.2 kB / 0.5739 GB, free: 6.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5549, allocations: 4.062 kB / 0.574 GB, free: 6.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.5553, allocations: 67.88 kB / 0.574 GB, free: 6.434 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.0008692/0.5561, allocations: 1.084 MB / 0.5751 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.5566, allocations: 286 kB / 0.5753 GB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5566, allocations: 0 / 0.5753 GB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.5569, allocations: 204.1 kB / 0.5755 GB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.5573, allocations: 65.06 kB / 0.5756 GB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.5585, allocations: 0.617 MB / 0.5762 GB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.5589, allocations: 0.8178 MB / 0.577 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.5591, allocations: 42.95 kB / 0.577 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.5592, allocations: 100.5 kB / 0.5771 GB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5592, allocations: 0 / 0.5771 GB, free: 3.371 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.5787, allocations: 5.595 MB / 0.5826 GB, free: 13.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.579, allocations: 195.3 kB / 0.5828 GB, free: 13.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.61, allocations: 0 / 0.5828 GB, free: 13.58 MB / 394.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat does not exist to compare? outputFormat=mat