Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_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.001019/0.001019, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001083/0.001083, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.353/1.353, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1721/0.1721, allocations: 38.03 MB / 329.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 65.42 kB / 398.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09726, allocations: 58.07 MB / 457 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003796/0.1011, allocations: 2.035 MB / 459 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.1019, allocations: 0.526 MB / 459.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.102, allocations: 0 / 459.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.1022, allocations: 11.92 kB / 459.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.1022, allocations: 31.78 kB / 459.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1025, allocations: 55.84 kB / 459.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1026, allocations: 67.75 kB / 459.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.1027, allocations: 4 kB / 459.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.1028, allocations: 39.84 kB / 459.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.1028, allocations: 31.84 kB / 459.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1029, allocations: 0 / 459.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.103, allocations: 79.83 kB / 459.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1031, allocations: 11.94 kB / 459.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.1031, allocations: 15.86 kB / 459.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1033, allocations: 99.97 kB / 460 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1033, allocations: 0 / 460 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1033, allocations: 0 / 460 MB, free: 4.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1033, allocations: 4 kB / 460 MB, free: 4.898 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.0004052/0.1037, allocations: 385 kB / 460.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1038, allocations: 11.89 kB / 460.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1038, allocations: 38.75 kB / 460.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1039, allocations: 4.938 kB / 460.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1041, allocations: 176.3 kB / 460.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1041, allocations: 4.312 kB / 460.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.1041, allocations: 3.938 kB / 460.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.1042, allocations: 57.66 kB / 460.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1042, allocations: 0 / 460.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1042, allocations: 8 kB / 460.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1043, allocations: 0 / 460.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.1043, allocations: 12 kB / 460.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1045, allocations: 169.6 kB / 460.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.1045, allocations: 46.45 kB / 460.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.1046, allocations: 36.88 kB / 460.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.1046, allocations: 0 / 460.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/0.1047, allocations: 34.56 kB / 460.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1047, allocations: 0 / 460.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002205/0.1049, allocations: 139.5 kB / 461.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.105, allocations: 93.09 kB / 461.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1051, allocations: 117.7 kB / 461.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1051, allocations: 29.64 kB / 461.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.1051, allocations: 88.14 kB / 461.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1052, allocations: 27.55 kB / 461.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.1052, allocations: 21.75 kB / 461.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1053, allocations: 318.8 kB / 461.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.1054, allocations: 16 kB / 461.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.1054, allocations: 27.97 kB / 461.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1055, allocations: 124.2 kB / 461.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1055, allocations: 3.938 kB / 461.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001282/0.1057, allocations: 119.5 kB / 462 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.1057, allocations: 41.69 kB / 462.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1057, allocations: 0 / 462.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1057, allocations: 4.062 kB / 462.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-06/0.1058, allocations: 3.938 kB / 462.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1058, allocations: 0 / 462.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.1058, allocations: 7.906 kB / 462.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1058, allocations: 4 kB / 462.1 MB, free: 2.492 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1059, allocations: 159.5 kB / 462.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.1059, allocations: 4 kB / 462.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.106, allocations: 8.375 kB / 462.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.106, allocations: 0 / 462.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.106, allocations: 4 kB / 462.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.106, allocations: 0 / 462.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1061, allocations: 169.5 kB / 462.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1061, allocations: 0 / 462.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.1061, allocations: 0 / 462.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1061, allocations: 0 / 462.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1061, allocations: 11.98 kB / 462.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1061, allocations: 0 / 462.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1062, allocations: 4 kB / 462.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1064, allocations: 222.6 kB / 462.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1065, allocations: 85.05 kB / 462.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1065, allocations: 3.938 kB / 462.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.1065, allocations: 4 kB / 462.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.1065, allocations: 3.938 kB / 462.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1065, allocations: 8.359 kB / 462.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.1066, allocations: 91.22 kB / 462.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1066, allocations: 0 / 462.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1068, allocations: 31.98 kB / 462.9 MB, free: 1.586 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005589/0.1074, allocations: 0.7546 MB / 463.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1077, allocations: 203.2 kB / 463.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1077, allocations: 0 / 463.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1078, allocations: 147.4 kB / 464 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1081, allocations: 8.156 kB / 464 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1095, allocations: 1.531 MB / 465.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1098, allocations: 0.6885 MB / 466.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.1099, allocations: 7.984 kB / 466.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1099, allocations: 15.44 kB / 466.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1099, allocations: 0 / 466.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.1285, allocations: 2.149 MB / 468.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.22, allocations: 3.938 kB / 468.4 MB, free: 12 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)