Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.001942/0.001942, allocations: 174.9 kB / 8.348 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.624/1.624, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0008367/0.0008367, allocations: 80.39 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1719/0.1719, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.154e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.5667, allocations: 93.94 MB / 0.5478 GB, free: 0.8516 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5671, allocations: 83.95 kB / 0.5479 GB, free: 0.7695 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03394/0.601, allocations: 14.15 MB / 0.5617 GB, free: 2.477 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6011, allocations: 0 / 0.5617 GB, free: 2.477 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.6011, allocations: 8 kB / 0.5617 GB, free: 2.469 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006608/0.6018, allocations: 498.1 kB / 0.5622 GB, free: 1.938 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6018, allocations: 12.03 kB / 0.5622 GB, free: 1.926 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.6027, allocations: 103.5 kB / 0.5623 GB, free: 1.824 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.603, allocations: 258.6 kB / 0.5625 GB, free: 1.531 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.6031, allocations: 7.984 kB / 0.5625 GB, free: 1.523 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.6031, allocations: 16 kB / 0.5625 GB, free: 1.508 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003254/0.6034, allocations: 192.4 kB / 0.5627 GB, free: 1.32 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.6039, allocations: 285.6 kB / 0.563 GB, free: 1.016 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6039, allocations: 0 / 0.563 GB, free: 1.016 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.604, allocations: 0 / 0.563 GB, free: 1.016 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.399e-05/0.6041, allocations: 27.97 kB / 0.563 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.6059, allocations: 1.223 MB / 0.5642 GB, free: 15.69 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.6063, allocations: 233.1 kB / 0.5644 GB, free: 15.45 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.6065, allocations: 89.75 kB / 0.5645 GB, free: 15.35 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.6065, allocations: 4.234 kB / 0.5645 GB, free: 15.35 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6066, allocations: 42.55 kB / 0.5646 GB, free: 15.3 MB / 411.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.6066, allocations: 0 / 0.5646 GB, free: 15.3 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006672/0.6072, allocations: 340.2 kB / 0.5649 GB, free: 14.96 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6073, allocations: 85.12 kB / 0.565 GB, free: 14.86 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.6075, allocations: 163.2 kB / 0.5651 GB, free: 14.69 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.6075, allocations: 25.7 kB / 0.5652 GB, free: 14.66 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.6076, allocations: 155.9 kB / 0.5653 GB, free: 14.5 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.6077, allocations: 63.09 kB / 0.5654 GB, free: 14.44 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.6077, allocations: 0 / 0.5654 GB, free: 14.44 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6078, allocations: 322.8 kB / 0.5657 GB, free: 14.11 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.6079, allocations: 76.44 kB / 0.5657 GB, free: 14.04 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.6081, allocations: 155.1 kB / 0.5659 GB, free: 13.86 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.6083, allocations: 95.95 kB / 0.566 GB, free: 13.76 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6083, allocations: 3.984 kB / 0.566 GB, free: 13.76 MB / 411.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003765/0.6087, allocations: 265 kB / 0.5662 GB, free: 13.49 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6087, allocations: 7.953 kB / 0.5662 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6087, allocations: 4.281 kB / 0.5663 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.6087, allocations: 11.98 kB / 0.5663 GB, free: 13.47 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.609, allocations: 55.91 kB / 0.5663 GB, free: 13.41 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.609, allocations: 4 kB / 0.5663 GB, free: 13.41 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.6091, allocations: 11.98 kB / 0.5663 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.6092, allocations: 12 kB / 0.5663 GB, free: 13.39 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.6093, allocations: 112.8 kB / 0.5665 GB, free: 13.27 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002981/0.6096, allocations: 203.3 kB / 0.5666 GB, free: 13.07 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.6096, allocations: 19.8 kB / 0.5667 GB, free: 13.05 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.61, allocations: 219.4 kB / 0.5669 GB, free: 12.83 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.61, allocations: 0 / 0.5669 GB, free: 12.83 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.61, allocations: 0 / 0.5669 GB, free: 12.83 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.61, allocations: 7.984 kB / 0.5669 GB, free: 12.82 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6112, allocations: 0.886 MB / 0.5677 GB, free: 11.84 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6112, allocations: 4 kB / 0.5677 GB, free: 11.84 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.6113, allocations: 39.91 kB / 0.5678 GB, free: 11.8 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6113, allocations: 7.938 kB / 0.5678 GB, free: 11.79 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.6114, allocations: 4 kB / 0.5678 GB, free: 11.79 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.6114, allocations: 11.95 kB / 0.5678 GB, free: 11.78 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/0.6114, allocations: 7.938 kB / 0.5678 GB, free: 11.77 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.6119, allocations: 0.5825 MB / 0.5684 GB, free: 11.02 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.612, allocations: 96.91 kB / 0.5685 GB, free: 10.91 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.612, allocations: 8 kB / 0.5685 GB, free: 10.9 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6122, allocations: 11.98 kB / 0.5685 GB, free: 10.89 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.6122, allocations: 23.88 kB / 0.5685 GB, free: 10.87 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.6122, allocations: 12 kB / 0.5685 GB, free: 10.86 MB / 411.1 MB Notification: Performance of sorting global known variables: time 9.917e-05/0.6123, allocations: 135.1 kB / 0.5687 GB, free: 10.72 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6123, allocations: 0 / 0.5687 GB, free: 10.72 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.6127, allocations: 56 kB / 0.5687 GB, free: 10.67 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 simulation (18): * Single equations (assignments): 17 * 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.001209/0.6139, allocations: 2.224 MB / 0.5709 GB, free: 8.309 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.6142, allocations: 191.7 kB / 0.5711 GB, free: 8.121 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6142, allocations: 0 / 0.5711 GB, free: 8.121 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.6144, allocations: 89.2 kB / 0.5712 GB, free: 8.035 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.6147, allocations: 45.25 kB / 0.5712 GB, free: 7.988 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.6156, allocations: 488.8 kB / 0.5717 GB, free: 7.426 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.616, allocations: 0.7672 MB / 0.5724 GB, free: 6.633 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.6162, allocations: 53.81 kB / 0.5725 GB, free: 6.578 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.6163, allocations: 63.36 kB / 0.5725 GB, free: 6.516 MB / 411.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6163, allocations: 0 / 0.5725 GB, free: 6.516 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.6386, allocations: 3.293 MB / 0.5757 GB, free: 3.223 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.6389, allocations: 153.7 kB / 0.5759 GB, free: 3.023 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.337, allocations: 0 / 0.5759 GB, free: 3.023 MB / 411.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat does not exist to compare? outputFormat=mat