Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001135/0.001134, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.185/1.185, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0007438/0.0007438, allocations: 86.69 kB / 270.8 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1563/0.1563, allocations: 38.07 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 12 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2264, allocations: 56.32 MB / 480.4 MB, free: 9.441 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3363, allocations: 94.05 MB / 0.561 GB, free: 8.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.3366, allocations: 87.95 kB / 0.5611 GB, free: 8.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04128/0.3778, allocations: 17.99 MB / 0.5787 GB, free: 5.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3779, allocations: 0 / 0.5787 GB, free: 5.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3779, allocations: 12 kB / 0.5787 GB, free: 5.938 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008052/0.3787, allocations: 0.5773 MB / 0.5792 GB, free: 5.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3788, allocations: 8.031 kB / 0.5792 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.3789, allocations: 70.47 kB / 0.5793 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.38, allocations: 139.4 kB / 0.5794 GB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.3804, allocations: 295.8 kB / 0.5797 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3804, allocations: 16.56 kB / 0.5797 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.3805, allocations: 31.89 kB / 0.5798 GB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.381, allocations: 431.6 kB / 0.5802 GB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3811, allocations: 0 / 0.5802 GB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.3811, allocations: 15.98 kB / 0.5802 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3812, allocations: 36.53 kB / 0.5802 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.3818, allocations: 409.9 kB / 0.5806 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3838, allocations: 1.718 MB / 0.5823 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.3841, allocations: 286.7 kB / 0.5826 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3841, allocations: 4.172 kB / 0.5826 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3842, allocations: 38.81 kB / 0.5826 GB, free: 1.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.3842, allocations: 0 / 0.5826 GB, free: 1.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001549/0.3857, allocations: 0.7784 MB / 0.5834 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3858, allocations: 85.09 kB / 0.5835 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.386, allocations: 186.1 kB / 0.5836 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.386, allocations: 29.7 kB / 0.5837 GB, free: 468 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.3861, allocations: 184 kB / 0.5838 GB, free: 280 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.3861, allocations: 86.95 kB / 0.5839 GB, free: 192 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.3862, allocations: 8 kB / 0.5839 GB, free: 184 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3863, allocations: 334.7 kB / 0.5842 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3864, allocations: 104.5 kB / 0.5843 GB, free: 15.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3867, allocations: 205 kB / 0.5845 GB, free: 15.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3869, allocations: 143.9 kB / 0.5847 GB, free: 15.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3869, allocations: 0 / 0.5847 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006649/0.3875, allocations: 430 kB / 0.5851 GB, free: 14.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3876, allocations: 8 kB / 0.5851 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3876, allocations: 0 / 0.5851 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.3879, allocations: 80.8 kB / 0.5852 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.3882, allocations: 63.89 kB / 0.5852 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.3899, allocations: 1.827 MB / 0.587 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3901, allocations: 19.97 kB / 0.587 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3902, allocations: 19.95 kB / 0.5871 GB, free: 12.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.3903, allocations: 165.8 kB / 0.5872 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.3904, allocations: 23.72 kB / 0.5872 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006783/0.3911, allocations: 384 kB / 0.5876 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3911, allocations: 4 kB / 0.5876 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.3911, allocations: 0 / 0.5876 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3911, allocations: 7.938 kB / 0.5876 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3925, allocations: 0.926 MB / 0.5885 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3925, allocations: 0 / 0.5885 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3926, allocations: 35.98 kB / 0.5885 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.3929, allocations: 80.78 kB / 0.5886 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3929, allocations: 0 / 0.5886 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.3947, allocations: 1.737 MB / 0.5903 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3947, allocations: 4 kB / 0.5903 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.3954, allocations: 495.5 kB / 0.5908 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.3955, allocations: 96.83 kB / 0.5909 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.3955, allocations: 12 kB / 0.5909 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3957, allocations: 7.984 kB / 0.5909 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3957, allocations: 23.88 kB / 0.5909 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.3958, allocations: 11.98 kB / 0.5909 GB, free: 8.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3959, allocations: 152.3 kB / 0.5911 GB, free: 8.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3959, allocations: 0 / 0.5911 GB, free: 8.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004877/0.3964, allocations: 88 kB / 0.5912 GB, free: 8.246 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.3974, allocations: 1.239 MB / 0.5924 GB, free: 6.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.3981, allocations: 420.8 kB / 0.5928 GB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3981, allocations: 4.062 kB / 0.5928 GB, free: 6.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.3985, allocations: 286.5 kB / 0.5931 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3988, allocations: 32 kB / 0.5931 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.4018, allocations: 3.706 MB / 0.5967 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4022, allocations: 0.8148 MB / 0.5975 GB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4024, allocations: 54.09 kB / 0.5976 GB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4025, allocations: 83.41 kB / 0.5976 GB, free: 1.41 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4025, allocations: 0 / 0.5976 GB, free: 1.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.4183, allocations: 5.15 MB / 0.6027 GB, free: 12.32 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.4186, allocations: 209.3 kB / 0.6029 GB, free: 12.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.046, allocations: 3.938 kB / 0.6029 GB, free: 12.07 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat does not exist to compare? outputFormat=mat