Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.0008806/0.0008807, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.0009888/0.0009888, allocations: 181.8 kB / 17.2 MB, free: 6.004 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.259/1.259, allocations: 223.2 MB / 241.1 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1625/0.1625, allocations: 38.09 MB / 330.3 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8.75 kB / 400.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09711, allocations: 59.18 MB / 459.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.001985/0.09912, allocations: 1.713 MB / 461 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005991/0.09974, allocations: 491.2 kB / 461.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.09978, allocations: 4 kB / 461.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.09995, allocations: 15.92 kB / 461.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.09999, allocations: 15.95 kB / 461.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1002, allocations: 51.88 kB / 461.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.612e-05/0.1003, allocations: 27.94 kB / 461.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1003, allocations: 4 kB / 461.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.1004, allocations: 23.91 kB / 461.6 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.1004, allocations: 11.94 kB / 461.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-06/0.1004, allocations: 0 / 461.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1006, allocations: 55.8 kB / 461.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.1006, allocations: 8 kB / 461.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.1006, allocations: 33.64 kB / 461.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1007, allocations: 56.14 kB / 461.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1008, allocations: 0 / 461.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1008, allocations: 0 / 461.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.1008, allocations: 0 / 461.7 MB, free: 4.832 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002974/0.1011, allocations: 381 kB / 462.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1011, allocations: 8.031 kB / 462.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.1012, allocations: 34.56 kB / 462.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.1012, allocations: 3.906 kB / 462.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1013, allocations: 175.1 kB / 462.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.1013, allocations: 4 kB / 462.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1014, allocations: 3.953 kB / 462.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1015, allocations: 49.62 kB / 462.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1015, allocations: 0 / 462.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1015, allocations: 3.984 kB / 462.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1015, allocations: 4 kB / 462.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.1015, allocations: 16 kB / 462.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.1017, allocations: 169.5 kB / 462.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.1017, allocations: 46.58 kB / 462.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-06/0.1017, allocations: 0 / 462.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1018, allocations: 42.55 kB / 462.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 6.61e-07/0.1018, allocations: 3.938 kB / 462.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002464/0.102, allocations: 220.4 kB / 462.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1021, allocations: 89.05 kB / 463 MB, free: 3.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.1022, allocations: 118 kB / 463.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1022, allocations: 29.73 kB / 463.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.1022, allocations: 84.14 kB / 463.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1023, allocations: 27.7 kB / 463.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1023, allocations: 0 / 463.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1024, allocations: 322.8 kB / 463.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.1024, allocations: 23.98 kB / 463.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.1025, allocations: 12 kB / 463.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.1025, allocations: 61.67 kB / 463.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1025, allocations: 3.938 kB / 463.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001169/0.1027, allocations: 123.3 kB / 463.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.1027, allocations: 45.64 kB / 463.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1027, allocations: 0 / 463.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.1027, allocations: 0 / 463.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1027, allocations: 4 kB / 463.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1028, allocations: 320 / 463.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.1028, allocations: 0 / 463.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1028, allocations: 4 kB / 463.8 MB, free: 2.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001028/0.1029, allocations: 155.5 kB / 464 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1029, allocations: 11.94 kB / 464 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.1029, allocations: 12.33 kB / 464 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.103, allocations: 0 / 464 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.103, allocations: 0 / 464 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.103, allocations: 0 / 464 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1031, allocations: 169.6 kB / 464.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1031, allocations: 0 / 464.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1031, allocations: 0 / 464.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1031, allocations: 8 kB / 464.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1031, allocations: 0 / 464.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1031, allocations: 3.953 kB / 464.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1031, allocations: 11.92 kB / 464.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1034, allocations: 207 kB / 464.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1034, allocations: 88.98 kB / 464.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1035, allocations: 0 / 464.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.1035, allocations: 7.984 kB / 464.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.1035, allocations: 11.88 kB / 464.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1035, allocations: 4 kB / 464.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.167e-05/0.1036, allocations: 95.3 kB / 464.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1036, allocations: 0 / 464.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1038, allocations: 20 kB / 464.6 MB, free: 1.582 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0005583/0.1044, allocations: 0.7585 MB / 465.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1046, allocations: 195.3 kB / 465.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1046, allocations: 4.094 kB / 465.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1048, allocations: 147.4 kB / 465.7 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.105, allocations: 7.953 kB / 465.7 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.1058, allocations: 0.6451 MB / 466.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1061, allocations: 0.6965 MB / 467 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.632e-05/0.1061, allocations: 3.938 kB / 467 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1061, allocations: 15.44 kB / 467.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1061, allocations: 0 / 467.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.1176, allocations: 1.915 MB / 469 MB, free: 13.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.1178, allocations: 199.8 kB / 469.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.701, allocations: 0 / 469.2 MB, free: 12.99 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat does not exist to compare? outputFormat=mat