Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.0009746/0.0009746, allocations: 180.9 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.194/1.194, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.0007983/0.0007982, allocations: 89.28 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1578/0.1578, allocations: 38.07 MB / 357.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 12 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2412, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.3592, allocations: 96.38 MB / 0.5633 GB, free: 6.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.3594, allocations: 91.95 kB / 0.5634 GB, free: 5.938 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02114/0.3806, allocations: 7.697 MB / 0.5709 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3806, allocations: 0 / 0.5709 GB, free: 14.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3806, allocations: 11.94 kB / 0.5709 GB, free: 14.14 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00105/0.3817, allocations: 0.6528 MB / 0.5715 GB, free: 13.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3817, allocations: 8.031 kB / 0.5715 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.067e-05/0.3818, allocations: 62.89 kB / 0.5716 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.3819, allocations: 39.48 kB / 0.5716 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.3835, allocations: 0.74 MB / 0.5724 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3835, allocations: 20.56 kB / 0.5724 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.3836, allocations: 28 kB / 0.5724 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.3841, allocations: 356.7 kB / 0.5727 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3841, allocations: 0 / 0.5727 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3842, allocations: 19.92 kB / 0.5728 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3842, allocations: 8 kB / 0.5728 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.3846, allocations: 261.9 kB / 0.573 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3862, allocations: 1.431 MB / 0.5744 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3864, allocations: 161 kB / 0.5746 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3864, allocations: 3.984 kB / 0.5746 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.3865, allocations: 30.56 kB / 0.5746 GB, free: 10.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.3865, allocations: 0 / 0.5746 GB, free: 10.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001015/0.3875, allocations: 0.6873 MB / 0.5753 GB, free: 9.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3875, allocations: 81.05 kB / 0.5753 GB, free: 9.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.3878, allocations: 263.7 kB / 0.5756 GB, free: 8.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3878, allocations: 29.7 kB / 0.5756 GB, free: 8.953 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.388, allocations: 215.5 kB / 0.5758 GB, free: 8.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.388, allocations: 59.19 kB / 0.5759 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.388, allocations: 8.125 kB / 0.5759 GB, free: 8.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3882, allocations: 338.8 kB / 0.5762 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3883, allocations: 63.95 kB / 0.5763 GB, free: 8.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3885, allocations: 165.3 kB / 0.5764 GB, free: 8.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3886, allocations: 93.3 kB / 0.5765 GB, free: 7.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3886, allocations: 0 / 0.5765 GB, free: 7.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003845/0.389, allocations: 284.8 kB / 0.5768 GB, free: 7.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.389, allocations: 12.09 kB / 0.5768 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.389, allocations: 0 / 0.5768 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3891, allocations: 11.95 kB / 0.5768 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.3893, allocations: 59.91 kB / 0.5769 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3893, allocations: 11.92 kB / 0.5769 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3895, allocations: 15.91 kB / 0.5769 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3895, allocations: 11.98 kB / 0.5769 GB, free: 7.566 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.0001466/0.3897, allocations: 165.7 kB / 0.5771 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3897, allocations: 31.72 kB / 0.5771 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.3901, allocations: 239.4 kB / 0.5773 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3901, allocations: 0 / 0.5773 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3901, allocations: 4 kB / 0.5773 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.3901, allocations: 3.953 kB / 0.5773 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.3908, allocations: 0.6258 MB / 0.578 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3908, allocations: 0 / 0.578 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.391, allocations: 35.92 kB / 0.578 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3911, allocations: 12.02 kB / 0.578 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3911, allocations: 4 kB / 0.578 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3911, allocations: 7.953 kB / 0.578 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3911, allocations: 0 / 0.578 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.3916, allocations: 439.9 kB / 0.5784 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.3917, allocations: 116.6 kB / 0.5785 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3917, allocations: 4 kB / 0.5785 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3919, allocations: 11.98 kB / 0.5786 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.3919, allocations: 15.92 kB / 0.5786 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3919, allocations: 4 kB / 0.5786 GB, free: 5.742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3921, allocations: 207.1 kB / 0.5788 GB, free: 5.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3921, allocations: 0 / 0.5788 GB, free: 5.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.3924, allocations: 68.25 kB / 0.5788 GB, free: 5.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0007348/0.3932, allocations: 1.128 MB / 0.5799 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.3935, allocations: 191.6 kB / 0.5801 GB, free: 4.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3935, allocations: 0 / 0.5801 GB, free: 4.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3936, allocations: 87.89 kB / 0.5802 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.394, allocations: 62.12 kB / 0.5803 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.3969, allocations: 3.96 MB / 0.5841 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3972, allocations: 0.8223 MB / 0.5849 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.3974, allocations: 42.95 kB / 0.585 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3976, allocations: 119.4 kB / 0.5851 GB, free: 14.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3976, allocations: 0 / 0.5851 GB, free: 14.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.4136, allocations: 5.624 MB / 0.5906 GB, free: 9.305 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.4139, allocations: 188.1 kB / 0.5908 GB, free: 9.059 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.234, allocations: 0 / 0.5908 GB, free: 9.059 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat does not exist to compare? outputFormat=mat