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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0009861/0.0009862, allocations: 93.88 kB / 16.3 MB, free: 6.457 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: 183.3 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1586/0.1586, allocations: 38.04 MB / 309.7 MB, free: 6.133 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004943, allocations: 16 kB / 376.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2965, allocations: 56.33 MB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.001949/0.2985, allocations: 1.707 MB / 434.6 MB, free: 17.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000635/0.2992, allocations: 0.5274 MB / 435.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.2993, allocations: 4 kB / 435.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.2994, allocations: 11.92 kB / 435.2 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.2995, allocations: 19.84 kB / 435.2 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.2998, allocations: 47.88 kB / 435.2 MB, free: 16.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.2998, allocations: 35.92 kB / 435.3 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.2999, allocations: 4 kB / 435.3 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.3, allocations: 23.92 kB / 435.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.3, allocations: 19.86 kB / 435.3 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.3, allocations: 0 / 435.3 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3001, allocations: 39.95 kB / 435.3 MB, free: 16.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.3002, allocations: 11.98 kB / 435.4 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.3002, allocations: 33.64 kB / 435.4 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3003, allocations: 66.16 kB / 435.5 MB, free: 16.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3003, allocations: 0 / 435.5 MB, free: 16.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3003, allocations: 0 / 435.5 MB, free: 16.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3003, allocations: 0 / 435.5 MB, free: 16.25 MB / 318.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.000322/0.3007, allocations: 400.7 kB / 435.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3007, allocations: 8.031 kB / 435.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.3008, allocations: 34.56 kB / 435.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3008, allocations: 11.86 kB / 435.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.301, allocations: 182.8 kB / 436.1 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.301, allocations: 4 kB / 436.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.301, allocations: 0 / 436.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3011, allocations: 57.69 kB / 436.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3011, allocations: 3.984 kB / 436.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3012, allocations: 4 kB / 436.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3012, allocations: 0 / 436.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.3012, allocations: 31.98 kB / 436.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.3013, allocations: 165.6 kB / 436.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.3014, allocations: 58.5 kB / 436.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.3014, allocations: 0 / 436.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3014, allocations: 30.56 kB / 436.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 7.12e-07/0.3015, allocations: 4 kB / 436.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003005/0.3018, allocations: 272.1 kB / 436.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3018, allocations: 89.05 kB / 436.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.3019, allocations: 117.8 kB / 436.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.3019, allocations: 29.69 kB / 436.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.3019, allocations: 88.14 kB / 437 MB, free: 14.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.302, allocations: 39.44 kB / 437 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.302, allocations: 0 / 437 MB, free: 14.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.302, allocations: 322.8 kB / 437.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.3021, allocations: 32.02 kB / 437.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.3021, allocations: 27.98 kB / 437.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.3022, allocations: 77.67 kB / 437.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3022, allocations: 3.938 kB / 437.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001223/0.3023, allocations: 147.2 kB / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.3024, allocations: 45.69 kB / 437.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3024, allocations: 0 / 437.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3024, allocations: 4 kB / 437.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.3024, allocations: 0 / 437.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3024, allocations: 7.922 kB / 437.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.3024, allocations: 15.91 kB / 437.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3024, allocations: 0 / 437.7 MB, free: 13.71 MB / 318.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 9.395e-05/0.3026, allocations: 167.5 kB / 437.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.3026, allocations: 11.91 kB / 437.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.3026, allocations: 4.375 kB / 437.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3026, allocations: 0 / 437.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3026, allocations: 0 / 437.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3026, allocations: 0 / 437.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.3027, allocations: 177.6 kB / 438.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3027, allocations: 4 kB / 438.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3027, allocations: 0 / 438.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3027, allocations: 4 kB / 438.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3028, allocations: 0 / 438.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3028, allocations: 0 / 438.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3028, allocations: 7.984 kB / 438.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.303, allocations: 278 kB / 438.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.3031, allocations: 88.95 kB / 438.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3031, allocations: 4.031 kB / 438.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.3031, allocations: 4 kB / 438.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.3032, allocations: 3.938 kB / 438.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3032, allocations: 4 kB / 438.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.3032, allocations: 95.27 kB / 438.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3032, allocations: 0 / 438.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.3034, allocations: 35.98 kB / 438.6 MB, free: 12.73 MB / 318.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.0004505/0.3039, allocations: 0.817 MB / 439.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.3042, allocations: 291.2 kB / 439.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3042, allocations: 0 / 439.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3043, allocations: 227.3 kB / 439.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.3045, allocations: 7.984 kB / 439.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.3054, allocations: 0.8037 MB / 440.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.3056, allocations: 0.7043 MB / 441.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.633e-05/0.3056, allocations: 7.859 kB / 441.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3057, allocations: 19.44 kB / 441.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3057, allocations: 0 / 441.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.3189, allocations: 2.256 MB / 443.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.3191, allocations: 182.1 kB / 443.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.205, allocations: 3.938 kB / 443.9 MB, free: 7.301 MB / 318.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/linux/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) Environment - environmentSimulation: