Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.0009691/0.0009691, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 78.97 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1735/0.1735, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.11e-05, allocations: 7.984 kB / 410.7 MB, free: 46.85 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 56.32 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.4993, allocations: 98.17 MB / 0.5519 GB, free: 12.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4996, allocations: 87.94 kB / 0.552 GB, free: 12.53 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02997/0.5296, allocations: 10.81 MB / 0.5626 GB, free: 1.602 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5297, allocations: 0 / 0.5626 GB, free: 1.602 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.5297, allocations: 8 kB / 0.5626 GB, free: 1.594 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00107/0.5308, allocations: 0.6878 MB / 0.5632 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5308, allocations: 12.77 kB / 0.5632 GB, free: 0.8477 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.531, allocations: 55.3 kB / 0.5633 GB, free: 0.793 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.534, allocations: 1.186 MB / 0.5645 GB, free: 15.56 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.5341, allocations: 19.98 kB / 0.5645 GB, free: 15.54 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.5341, allocations: 27.91 kB / 0.5645 GB, free: 15.52 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005217/0.5347, allocations: 322 kB / 0.5648 GB, free: 15.2 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.5353, allocations: 439 kB / 0.5652 GB, free: 14.74 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5353, allocations: 11.94 kB / 0.5652 GB, free: 14.73 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.5353, allocations: 0 / 0.5652 GB, free: 14.73 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.5354, allocations: 24.67 kB / 0.5653 GB, free: 14.7 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.5377, allocations: 1.996 MB / 0.5672 GB, free: 12.57 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.5381, allocations: 241.6 kB / 0.5674 GB, free: 12.32 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.5384, allocations: 118.1 kB / 0.5676 GB, free: 12.2 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5384, allocations: 8.172 kB / 0.5676 GB, free: 12.19 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5384, allocations: 38.75 kB / 0.5676 GB, free: 12.14 MB / 411.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.5385, allocations: 0 / 0.5676 GB, free: 12.14 MB / 411.1 MB Notification: Performance of matching and sorting (n=23): time 0.000988/0.5394, allocations: 0.6397 MB / 0.5682 GB, free: 11.45 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.5395, allocations: 89.03 kB / 0.5683 GB, free: 11.35 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.5398, allocations: 309.1 kB / 0.5686 GB, free: 11.04 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5399, allocations: 29.64 kB / 0.5686 GB, free: 11.01 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.54, allocations: 291.3 kB / 0.5689 GB, free: 10.71 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.5401, allocations: 78.91 kB / 0.569 GB, free: 10.64 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.5401, allocations: 0 / 0.569 GB, free: 10.64 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5403, allocations: 350.7 kB / 0.5693 GB, free: 10.29 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5404, allocations: 72.86 kB / 0.5694 GB, free: 10.21 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.5406, allocations: 260.9 kB / 0.5696 GB, free: 9.875 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.5408, allocations: 127.9 kB / 0.5698 GB, free: 9.75 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5408, allocations: 4 kB / 0.5698 GB, free: 9.746 MB / 411.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006301/0.5415, allocations: 385.7 kB / 0.5701 GB, free: 9.359 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5415, allocations: 8 kB / 0.5701 GB, free: 9.352 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5415, allocations: 8 kB / 0.5701 GB, free: 9.344 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.5417, allocations: 57.27 kB / 0.5702 GB, free: 9.285 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.542, allocations: 87.83 kB / 0.5703 GB, free: 9.199 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.5433, allocations: 1.425 MB / 0.5717 GB, free: 7.66 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5435, allocations: 11.95 kB / 0.5717 GB, free: 7.648 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5436, allocations: 20 kB / 0.5717 GB, free: 7.629 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.5437, allocations: 122.7 kB / 0.5718 GB, free: 7.504 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002902/0.544, allocations: 202 kB / 0.572 GB, free: 7.301 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.544, allocations: 35.53 kB / 0.5721 GB, free: 7.266 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.5444, allocations: 217.2 kB / 0.5723 GB, free: 7.039 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5444, allocations: 8 kB / 0.5723 GB, free: 7.031 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5444, allocations: 7.953 kB / 0.5723 GB, free: 7.023 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5444, allocations: 3.984 kB / 0.5723 GB, free: 7.02 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007824/0.5452, allocations: 0.5974 MB / 0.5729 GB, free: 6.375 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5452, allocations: 0 / 0.5729 GB, free: 6.375 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.5455, allocations: 51.91 kB / 0.5729 GB, free: 6.324 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5455, allocations: 4 kB / 0.5729 GB, free: 6.32 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.5455, allocations: 4.031 kB / 0.5729 GB, free: 6.316 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5455, allocations: 7.953 kB / 0.5729 GB, free: 6.309 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5455, allocations: 3.938 kB / 0.5729 GB, free: 6.305 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.546, allocations: 427.9 kB / 0.5733 GB, free: 5.852 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5461, allocations: 132.6 kB / 0.5735 GB, free: 5.703 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.5462, allocations: 0 / 0.5735 GB, free: 5.703 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5463, allocations: 7.984 kB / 0.5735 GB, free: 5.695 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.5463, allocations: 15.92 kB / 0.5735 GB, free: 5.68 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.5464, allocations: 8 kB / 0.5735 GB, free: 5.672 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.5466, allocations: 227 kB / 0.5737 GB, free: 5.453 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5466, allocations: 0 / 0.5737 GB, free: 5.453 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.5471, allocations: 83.98 kB / 0.5738 GB, free: 5.371 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009559/0.548, allocations: 1.139 MB / 0.5749 GB, free: 4.191 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.5486, allocations: 343.4 kB / 0.5752 GB, free: 3.848 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5486, allocations: 8.375 kB / 0.5752 GB, free: 3.84 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.5487, allocations: 83.92 kB / 0.5753 GB, free: 3.758 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.5493, allocations: 77.77 kB / 0.5754 GB, free: 3.684 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.5506, allocations: 0.6856 MB / 0.5761 GB, free: 2.953 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.5511, allocations: 0.8662 MB / 0.5769 GB, free: 2.062 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.5514, allocations: 80.12 kB / 0.577 GB, free: 1.98 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5516, allocations: 147.4 kB / 0.5771 GB, free: 1.84 MB / 411.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5516, allocations: 0 / 0.5771 GB, free: 1.84 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.5806, allocations: 6.802 MB / 0.5838 GB, free: 11.05 MB / 427.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.5809, allocations: 154 kB / 0.5839 GB, free: 10.86 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.747, allocations: 3.938 kB / 0.5839 GB, free: 10.85 MB / 427.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat does not exist to compare? outputFormat=mat