Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001152/0.001152, allocations: 102.4 kB / 16.62 MB, free: 6.754 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.001108/0.001108, allocations: 193.8 kB / 17.55 MB, free: 5.93 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.326/1.326, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.03 MB / 329.4 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.62 kB / 398.4 MB, free: 34.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09593, allocations: 58.07 MB / 456.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00354/0.09951, allocations: 2.077 MB / 458.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000773/0.1003, allocations: 0.526 MB / 459.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.1004, allocations: 0 / 459.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1005, allocations: 7.922 kB / 459.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1006, allocations: 23.91 kB / 459.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1009, allocations: 63.86 kB / 459.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.101, allocations: 63.7 kB / 459.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1011, allocations: 7.984 kB / 459.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.1012, allocations: 31.86 kB / 459.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.1012, allocations: 31.89 kB / 459.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1013, allocations: 0 / 459.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1014, allocations: 79.77 kB / 459.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.1015, allocations: 15.92 kB / 459.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.1015, allocations: 23.81 kB / 459.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1017, allocations: 104 kB / 459.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1017, allocations: 4 kB / 459.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1017, allocations: 0 / 459.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1017, allocations: 0 / 459.5 MB, free: 5.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003853/0.1021, allocations: 393 kB / 459.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1022, allocations: 15.89 kB / 459.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1022, allocations: 38.75 kB / 459.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1022, allocations: 8.844 kB / 459.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.1024, allocations: 180.2 kB / 460.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1024, allocations: 4.375 kB / 460.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1025, allocations: 7.875 kB / 460.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1026, allocations: 61.67 kB / 460.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1026, allocations: 0 / 460.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1026, allocations: 7.984 kB / 460.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1026, allocations: 0 / 460.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.1027, allocations: 35.92 kB / 460.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.1028, allocations: 169.5 kB / 460.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.1029, allocations: 58.5 kB / 460.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.103, allocations: 44.88 kB / 460.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.103, allocations: 0 / 460.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.103, allocations: 34.56 kB / 460.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 8.51e-07/0.103, allocations: 0 / 460.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002698/0.1033, allocations: 183.4 kB / 460.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1034, allocations: 89.09 kB / 460.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.1034, allocations: 121.8 kB / 460.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1035, allocations: 29.7 kB / 461 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1035, allocations: 84.14 kB / 461 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1036, allocations: 39.36 kB / 461.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1036, allocations: 25.73 kB / 461.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1037, allocations: 322.8 kB / 461.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.1038, allocations: 24 kB / 461.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.1038, allocations: 27.98 kB / 461.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1039, allocations: 160.2 kB / 461.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.104, allocations: 0 / 461.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001516/0.1041, allocations: 147.2 kB / 461.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.1042, allocations: 53.61 kB / 461.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1042, allocations: 0 / 461.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1042, allocations: 8.062 kB / 461.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1042, allocations: 0 / 461.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1042, allocations: 3.938 kB / 461.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.1043, allocations: 0 / 461.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1043, allocations: 4 kB / 461.8 MB, free: 2.645 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.0001111/0.1044, allocations: 167.5 kB / 462 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1044, allocations: 11.91 kB / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.1044, allocations: 8.359 kB / 462 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1044, allocations: 0 / 462 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1045, allocations: 4 kB / 462 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1045, allocations: 0 / 462 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1046, allocations: 185.4 kB / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1046, allocations: 0 / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1046, allocations: 0 / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1046, allocations: 4 kB / 462.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1046, allocations: 0 / 462.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1046, allocations: 4 kB / 462.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1046, allocations: 0 / 462.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.1049, allocations: 283.4 kB / 462.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.105, allocations: 89 kB / 462.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.105, allocations: 7.938 kB / 462.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.105, allocations: 0 / 462.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1051, allocations: 4 kB / 462.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1051, allocations: 0 / 462.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.1051, allocations: 99.2 kB / 462.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 0 / 462.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1054, allocations: 32 kB / 462.7 MB, free: 1.652 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.0005696/0.1059, allocations: 0.8325 MB / 463.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1062, allocations: 291.3 kB / 463.8 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1062, allocations: 0 / 463.8 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1064, allocations: 223.3 kB / 464 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1066, allocations: 21.33 kB / 464.1 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1082, allocations: 1.764 MB / 465.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1085, allocations: 0.7002 MB / 466.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.1085, allocations: 3.859 kB / 466.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1085, allocations: 15.62 kB / 466.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1085, allocations: 4.031 kB / 466.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.1201, allocations: 2.443 MB / 469 MB, free: 11.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1203, allocations: 208.8 kB / 469.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/1.996, allocations: 0 / 469.2 MB, free: 11.07 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)