Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008846, allocations: 98.89 kB / 16.31 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 184.8 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3038/0.3038, allocations: 38.07 MB / 330.3 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 8 kB / 400.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2661, allocations: 59.15 MB / 459.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004474/0.2706, allocations: 4.445 MB / 463.7 MB, free: 27.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.2729, allocations: 1.566 MB / 465.2 MB, free: 26.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.2731, allocations: 25.88 kB / 465.3 MB, free: 26.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.2733, allocations: 70.59 kB / 465.3 MB, free: 26.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.2738, allocations: 228.2 kB / 465.5 MB, free: 26.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.2744, allocations: 234.9 kB / 465.8 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.2748, allocations: 296.7 kB / 466.1 MB, free: 25.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007199/0.2755, allocations: 0.5384 MB / 466.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.2757, allocations: 186.3 kB / 466.8 MB, free: 25.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.2761, allocations: 210.1 kB / 467 MB, free: 25.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.2761, allocations: 17.53 kB / 467 MB, free: 25.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.2764, allocations: 87.38 kB / 467.1 MB, free: 25.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.2766, allocations: 192.8 kB / 467.3 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.872e-05/0.2766, allocations: 110.3 kB / 467.4 MB, free: 25.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.2771, allocations: 445.4 kB / 467.8 MB, free: 25.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2771, allocations: 5.438 kB / 467.8 MB, free: 25.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2771, allocations: 0 / 467.8 MB, free: 25.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.2771, allocations: 0 / 467.8 MB, free: 25.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009666/0.2781, allocations: 0.6871 MB / 468.5 MB, free: 24.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2782, allocations: 13.06 kB / 468.5 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.63e-05/0.2783, allocations: 87.48 kB / 468.6 MB, free: 24.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/0.2788, allocations: 96.91 kB / 468.7 MB, free: 24.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.2793, allocations: 392.9 kB / 469.1 MB, free: 24.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2794, allocations: 30.22 kB / 469.1 MB, free: 24.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2795, allocations: 55.42 kB / 469.2 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.2803, allocations: 0.6325 MB / 469.8 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.2803, allocations: 10.83 kB / 469.8 MB, free: 23.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.2804, allocations: 17.25 kB / 469.8 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.2805, allocations: 32.92 kB / 469.9 MB, free: 23.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.2812, allocations: 476.6 kB / 470.3 MB, free: 23.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.2838, allocations: 3.01 MB / 473.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2841, allocations: 187.2 kB / 473.5 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2841, allocations: 4.156 kB / 473.5 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2841, allocations: 41.14 kB / 473.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.2841, allocations: 3.938 kB / 473.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001148/0.2853, allocations: 0.8392 MB / 474.4 MB, free: 20.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2853, allocations: 84.98 kB / 474.5 MB, free: 20.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.2857, allocations: 342.4 kB / 474.8 MB, free: 20.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2857, allocations: 33.83 kB / 474.9 MB, free: 20.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2858, allocations: 305.2 kB / 475.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.2859, allocations: 73.73 kB / 475.2 MB, free: 19.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.2859, allocations: 9.406 kB / 475.2 MB, free: 19.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.286, allocations: 343.5 kB / 475.6 MB, free: 19.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2862, allocations: 123.1 kB / 475.7 MB, free: 19.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.2864, allocations: 330.7 kB / 476 MB, free: 19.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2867, allocations: 191 kB / 476.2 MB, free: 19.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2867, allocations: 1.375 kB / 476.2 MB, free: 19.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000861/0.2875, allocations: 0.5497 MB / 476.8 MB, free: 18.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2876, allocations: 18.09 kB / 476.8 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004831/0.2881, allocations: 272.2 kB / 477 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.2884, allocations: 81.42 kB / 477.1 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.2887, allocations: 96.86 kB / 477.2 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.2899, allocations: 1.627 MB / 478.8 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2902, allocations: 21.25 kB / 478.9 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.2902, allocations: 22.8 kB / 478.9 MB, free: 17.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.2904, allocations: 227.2 kB / 479.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.2905, allocations: 30.78 kB / 479.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.2909, allocations: 285.7 kB / 479.4 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2909, allocations: 3.5 kB / 479.4 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2909, allocations: 0 / 479.4 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2909, allocations: 1 kB / 479.4 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.292, allocations: 0.7941 MB / 480.2 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.292, allocations: 1.281 kB / 480.2 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.2922, allocations: 57.66 kB / 480.3 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2923, allocations: 2.812 kB / 480.3 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2923, allocations: 10.48 kB / 480.3 MB, free: 16.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.2923, allocations: 1.625 kB / 480.3 MB, free: 16.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2923, allocations: 1.312 kB / 480.3 MB, free: 16.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.2927, allocations: 0.5151 MB / 480.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.2928, allocations: 110.2 kB / 480.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.2929, allocations: 11.34 kB / 480.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.293, allocations: 8.125 kB / 480.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2931, allocations: 15.3 kB / 480.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2931, allocations: 6.5 kB / 481 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.2933, allocations: 236.2 kB / 481.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2933, allocations: 0 / 481.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.2937, allocations: 92.88 kB / 481.3 MB, free: 15.66 MB / 350.1 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 (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.0006407/0.2944, allocations: 1.26 MB / 482.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005961/0.295, allocations: 440.5 kB / 483 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.295, allocations: 0.5 kB / 483 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2952, allocations: 116.2 kB / 483.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2955, allocations: 66.09 kB / 483.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.2994, allocations: 7.187 MB / 490.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2997, allocations: 0.8744 MB / 491.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003/0.3, allocations: 111.2 kB / 491.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3002, allocations: 143.4 kB / 491.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3002, allocations: 4 kB / 491.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.3183, allocations: 6.962 MB / 498.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/0.3187, allocations: 215.3 kB / 498.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.022, allocations: 3.938 kB / 498.6 MB, free: 15.61 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat does not exist to compare? outputFormat=mat