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.000844/0.000844, allocations: 88.16 kB / 16.31 MB, free: 5.551 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.0009498/0.0009498, allocations: 181.5 kB / 17.21 MB, free: 5.469 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.661/1.661, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1705/0.1705, allocations: 38.06 MB / 309.7 MB, free: 6.105 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.0005061/0.0005061, allocations: 19.12 kB / 376.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3304, allocations: 56.32 MB / 432.9 MB, free: 18.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002492/0.3329, allocations: 1.723 MB / 434.7 MB, free: 17.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.3337, allocations: 0.5313 MB / 435.2 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.3337, allocations: 3.938 kB / 435.2 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3339, allocations: 3.984 kB / 435.2 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.334, allocations: 31.83 kB / 435.2 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3343, allocations: 47.88 kB / 435.3 MB, free: 16.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3344, allocations: 91.7 kB / 435.4 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.3345, allocations: 0 / 435.4 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.3346, allocations: 27.92 kB / 435.4 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.3347, allocations: 31.83 kB / 435.4 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3347, allocations: 0 / 435.4 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3348, allocations: 43.94 kB / 435.5 MB, free: 16.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.3349, allocations: 15.92 kB / 435.5 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.3349, allocations: 37.64 kB / 435.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.335, allocations: 66.23 kB / 435.6 MB, free: 16.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3351, allocations: 4 kB / 435.6 MB, free: 16.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3351, allocations: 0 / 435.6 MB, free: 16.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3351, allocations: 0 / 435.6 MB, free: 16.28 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.0003431/0.3354, allocations: 392.8 kB / 436 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3355, allocations: 8.031 kB / 436 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3355, allocations: 42.5 kB / 436 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3356, allocations: 7.859 kB / 436 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3357, allocations: 178.9 kB / 436.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3358, allocations: 0 / 436.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3358, allocations: 0 / 436.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3359, allocations: 65.62 kB / 436.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.336, allocations: 0 / 436.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.336, allocations: 0 / 436.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.336, allocations: 4 kB / 436.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.336, allocations: 27.98 kB / 436.3 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.3362, allocations: 169.6 kB / 436.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.3363, allocations: 58.61 kB / 436.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.3363, allocations: 48.88 kB / 436.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.3363, allocations: 0 / 436.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3364, allocations: 30.56 kB / 436.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3364, allocations: 3.938 kB / 436.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000283/0.3367, allocations: 182.9 kB / 436.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3367, allocations: 85.11 kB / 436.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.3368, allocations: 121.8 kB / 437 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.3368, allocations: 25.7 kB / 437 MB, free: 14.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.3369, allocations: 92.17 kB / 437.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.3369, allocations: 35.45 kB / 437.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.3369, allocations: 0 / 437.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.337, allocations: 326.8 kB / 437.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.337, allocations: 27.98 kB / 437.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.3371, allocations: 32.03 kB / 437.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.3372, allocations: 69.69 kB / 437.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3372, allocations: 0 / 437.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000164/0.3373, allocations: 151.2 kB / 437.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.3374, allocations: 57.73 kB / 437.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3374, allocations: 0 / 437.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3374, allocations: 0 / 437.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.3375, allocations: 0 / 437.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3375, allocations: 0 / 437.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.3375, allocations: 11.84 kB / 437.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3375, allocations: 0 / 437.8 MB, free: 13.81 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 0.0001039/0.3376, allocations: 167.5 kB / 438 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.3377, allocations: 11.91 kB / 438 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.607e-05/0.3377, allocations: 8.375 kB / 438 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3377, allocations: 3.984 kB / 438 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3377, allocations: 4 kB / 438 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.3377, allocations: 3.984 kB / 438 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.3378, allocations: 169.5 kB / 438.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3379, allocations: 11.94 kB / 438.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.3379, allocations: 0 / 438.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3379, allocations: 0 / 438.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3379, allocations: 7.984 kB / 438.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3379, allocations: 4 kB / 438.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3379, allocations: 0 / 438.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3382, allocations: 282.2 kB / 438.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.3383, allocations: 88.95 kB / 438.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3383, allocations: 4 kB / 438.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/0.3383, allocations: 0 / 438.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.3383, allocations: 7.984 kB / 438.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3384, allocations: 0 / 438.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.3384, allocations: 95.27 kB / 438.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3384, allocations: 0 / 438.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.3388, allocations: 36.03 kB / 438.7 MB, free: 12.82 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.0005842/0.3394, allocations: 0.8169 MB / 439.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.3397, allocations: 291.3 kB / 439.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3397, allocations: 0 / 439.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3399, allocations: 227.4 kB / 440 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3402, allocations: 18.36 kB / 440 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3414, allocations: 0.8036 MB / 440.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3416, allocations: 0.7004 MB / 441.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.3416, allocations: 7.859 kB / 441.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.3417, allocations: 19.44 kB / 441.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3417, allocations: 0 / 441.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.3568, allocations: 2.268 MB / 443.8 MB, free: 7.605 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.357, allocations: 195.2 kB / 444 MB, free: 7.363 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.313, allocations: 3.938 kB / 444 MB, free: 7.359 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: