Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Source",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.0009577/0.0009578, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.201/1.201, 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.0007717/0.0007717, allocations: 96.14 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1584/0.1584, allocations: 38.07 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.3907, allocations: 101.4 MB / 0.5682 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.391, allocations: 91.95 kB / 0.5683 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0409/0.432, allocations: 15.12 MB / 0.583 GB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.432, allocations: 0 / 0.583 GB, free: 1.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.2e-05/0.432, allocations: 19.98 kB / 0.5831 GB, free: 1.57 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001536/0.4336, allocations: 0.7229 MB / 0.5838 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4336, allocations: 15.97 kB / 0.5838 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.4338, allocations: 86.5 kB / 0.5839 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.4344, allocations: 91.28 kB / 0.584 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.4365, allocations: 0.8684 MB / 0.5848 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.4366, allocations: 21 kB / 0.5848 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.4367, allocations: 39.98 kB / 0.5849 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009619/0.4377, allocations: 0.6686 MB / 0.5855 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4377, allocations: 7.938 kB / 0.5855 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.4377, allocations: 23.94 kB / 0.5855 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.4379, allocations: 56.95 kB / 0.5856 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.4388, allocations: 0.6362 MB / 0.5862 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.4422, allocations: 2.562 MB / 0.5887 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.4427, allocations: 332.4 kB / 0.589 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.4427, allocations: 0 / 0.589 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.4428, allocations: 46.56 kB / 0.5891 GB, free: 11.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.4428, allocations: 0 / 0.5891 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002195/0.445, allocations: 1.648 MB / 0.5907 GB, free: 9.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4451, allocations: 85.11 kB / 0.5908 GB, free: 9.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4453, allocations: 242.1 kB / 0.591 GB, free: 8.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4454, allocations: 33.7 kB / 0.591 GB, free: 8.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4455, allocations: 247.9 kB / 0.5913 GB, free: 8.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4456, allocations: 149.8 kB / 0.5914 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.4457, allocations: 12 kB / 0.5914 GB, free: 8.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4458, allocations: 350.7 kB / 0.5918 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.4461, allocations: 208.9 kB / 0.592 GB, free: 7.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.4465, allocations: 322.7 kB / 0.5923 GB, free: 7.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.4468, allocations: 264.2 kB / 0.5925 GB, free: 7.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4468, allocations: 0 / 0.5925 GB, free: 7.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001137/0.448, allocations: 0.6973 MB / 0.5932 GB, free: 6.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.448, allocations: 4 kB / 0.5932 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008608/0.4489, allocations: 0.5311 MB / 0.5937 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.4493, allocations: 109.6 kB / 0.5938 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.4496, allocations: 83.81 kB / 0.5939 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.4522, allocations: 3.046 MB / 0.5969 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.4525, allocations: 27.92 kB / 0.5969 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.4525, allocations: 20 kB / 0.5969 GB, free: 2.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.4528, allocations: 201.7 kB / 0.5971 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.4529, allocations: 31.62 kB / 0.5972 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.4537, allocations: 0.5398 MB / 0.5977 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.4537, allocations: 15.98 kB / 0.5977 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4537, allocations: 0 / 0.5977 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4537, allocations: 0 / 0.5977 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.4552, allocations: 1.08 MB / 0.5988 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4553, allocations: 4.047 kB / 0.5988 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.4557, allocations: 83.88 kB / 0.5988 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4557, allocations: 0 / 0.5988 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4557, allocations: 11.95 kB / 0.5988 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.4557, allocations: 7.984 kB / 0.5989 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4557, allocations: 0 / 0.5989 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4568, allocations: 0.8639 MB / 0.5997 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.457, allocations: 140.6 kB / 0.5998 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.4571, allocations: 8 kB / 0.5998 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.4573, allocations: 23.91 kB / 0.5999 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.4573, allocations: 20.2 kB / 0.5999 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.4574, allocations: 8 kB / 0.5999 GB, free: 15.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.4575, allocations: 201.9 kB / 0.6001 GB, free: 15.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4575, allocations: 0 / 0.6001 GB, free: 15.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.4581, allocations: 131.9 kB / 0.6002 GB, free: 15.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (31): * Single equations (assignments): 27 * Array equations: 3 * 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.001453/0.4595, allocations: 1.669 MB / 0.6018 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.4606, allocations: 0.7452 MB / 0.6026 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4607, allocations: 0 / 0.6026 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.461, allocations: 244 kB / 0.6028 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4613, allocations: 61.14 kB / 0.6029 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.4662, allocations: 5.305 MB / 0.608 GB, free: 6.848 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.4667, allocations: 0.8827 MB / 0.6089 GB, free: 5.938 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.467, allocations: 107.2 kB / 0.609 GB, free: 5.832 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.4672, allocations: 151.4 kB / 0.6091 GB, free: 5.684 MB / 442.7 MB Notification: Performance of SimCode: time 4.8e-07/0.4672, allocations: 0 / 0.6091 GB, free: 5.684 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.488, allocations: 7.941 MB / 0.6169 GB, free: 13.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.4883, allocations: 217 kB / 0.6171 GB, free: 13.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.547, allocations: 3.625 kB / 0.6171 GB, free: 13.55 MB / 458.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat does not exist to compare? outputFormat=mat