Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.001075/0.001075, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001402/0.001402, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.432/1.432, allocations: 223.2 MB / 241.2 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3341/0.3341, allocations: 38.09 MB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8 kB / 400.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.373, allocations: 59.17 MB / 459.3 MB, free: 30.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00516/0.3782, allocations: 4.587 MB / 463.9 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.3811, allocations: 1.641 MB / 465.6 MB, free: 25.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.3814, allocations: 29.22 kB / 465.6 MB, free: 25.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3817, allocations: 77.25 kB / 465.7 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007468/0.3825, allocations: 285 kB / 465.9 MB, free: 25.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.3832, allocations: 242.5 kB / 466.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.384, allocations: 0.7228 MB / 466.9 MB, free: 25.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.3847, allocations: 458.8 kB / 467.3 MB, free: 24.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.385, allocations: 219.4 kB / 467.6 MB, free: 24.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.3856, allocations: 320.8 kB / 467.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.3856, allocations: 17.84 kB / 467.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.3859, allocations: 97 kB / 468 MB, free: 24.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.3862, allocations: 206.1 kB / 468.2 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3863, allocations: 108.3 kB / 468.3 MB, free: 24.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.3868, allocations: 443.5 kB / 468.7 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3869, allocations: 1.562 kB / 468.7 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3869, allocations: 0 / 468.7 MB, free: 24.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3869, allocations: 0 / 468.7 MB, free: 24.4 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001038/0.3879, allocations: 0.6914 MB / 469.4 MB, free: 23.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.388, allocations: 9.375 kB / 469.4 MB, free: 23.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.267e-05/0.3881, allocations: 82.12 kB / 469.5 MB, free: 23.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.3886, allocations: 94.2 kB / 469.6 MB, free: 23.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.3891, allocations: 391 kB / 470 MB, free: 23.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3892, allocations: 29.81 kB / 470 MB, free: 23.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3893, allocations: 53.5 kB / 470.1 MB, free: 23.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.3902, allocations: 0.6559 MB / 470.7 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3903, allocations: 2.75 kB / 470.7 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.3903, allocations: 17.72 kB / 470.7 MB, free: 23.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/0.3905, allocations: 51.22 kB / 470.8 MB, free: 23.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.3912, allocations: 0.4905 MB / 471.3 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.394, allocations: 3.163 MB / 474.4 MB, free: 20.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.3944, allocations: 241.8 kB / 474.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3946, allocations: 125.9 kB / 474.8 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3947, allocations: 3.688 kB / 474.8 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3947, allocations: 32.88 kB / 474.8 MB, free: 20.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.3947, allocations: 1.375 kB / 474.8 MB, free: 20.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001303/0.396, allocations: 0.8931 MB / 475.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.396, allocations: 84.69 kB / 475.8 MB, free: 19.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3964, allocations: 329.2 kB / 476.1 MB, free: 19.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3964, allocations: 30.67 kB / 476.2 MB, free: 19.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3965, allocations: 294 kB / 476.5 MB, free: 19.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.3966, allocations: 87.05 kB / 476.5 MB, free: 19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.3966, allocations: 9.531 kB / 476.5 MB, free: 18.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.3967, allocations: 343.1 kB / 476.9 MB, free: 18.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3969, allocations: 130.8 kB / 477 MB, free: 18.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.3972, allocations: 326.6 kB / 477.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.3975, allocations: 196.8 kB / 477.5 MB, free: 18.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3975, allocations: 1.219 kB / 477.5 MB, free: 18.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009505/0.3985, allocations: 0.6019 MB / 478.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3985, allocations: 12.94 kB / 478.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005461/0.399, allocations: 322.9 kB / 478.5 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.3994, allocations: 113.3 kB / 478.6 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3997, allocations: 94.48 kB / 478.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.4017, allocations: 3.019 MB / 481.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.4019, allocations: 17.84 kB / 481.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.402, allocations: 26.55 kB / 481.7 MB, free: 14.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 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.0002224/0.4022, allocations: 210.6 kB / 481.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.4023, allocations: 37.94 kB / 482 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.4028, allocations: 326.4 kB / 482.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4028, allocations: 3.969 kB / 482.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4028, allocations: 0 / 482.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4028, allocations: 4 kB / 482.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009655/0.4038, allocations: 0.8139 MB / 483.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4038, allocations: 1.094 kB / 483.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.4041, allocations: 61.47 kB / 483.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4041, allocations: 2.062 kB / 483.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.4041, allocations: 4.156 kB / 483.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4041, allocations: 2.062 kB / 483.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4041, allocations: 1.031 kB / 483.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.4047, allocations: 0.5131 MB / 483.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.4048, allocations: 122.7 kB / 483.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.4048, allocations: 7.688 kB / 483.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.405, allocations: 11.8 kB / 483.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.4051, allocations: 24.06 kB / 483.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4051, allocations: 6.469 kB / 483.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.4053, allocations: 220.5 kB / 484.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4053, allocations: 0 / 484.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004966/0.4058, allocations: 98.69 kB / 484.2 MB, free: 13.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0007182/0.4065, allocations: 1.048 MB / 485.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008005/0.4073, allocations: 0.5705 MB / 485.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4073, allocations: 1.344 kB / 485.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.4075, allocations: 124.2 kB / 485.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.408, allocations: 67.88 kB / 486 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.4112, allocations: 2.71 MB / 488.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.4115, allocations: 0.8779 MB / 489.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.4118, allocations: 111.2 kB / 489.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.412, allocations: 147.4 kB / 489.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.412, allocations: 0 / 489.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.4319, allocations: 7.222 MB / 497 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.4322, allocations: 214.8 kB / 497.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.302, allocations: 0 / 497.2 MB, free: 0.832 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat does not exist to compare? outputFormat=mat