Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.001353/0.001354, allocations: 103.6 kB / 16.62 MB, free: 6.812 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.001321/0.001321, allocations: 193.8 kB / 17.55 MB, free: 5.941 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.324/1.324, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1729/0.1729, allocations: 38.03 MB / 329.4 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 61.25 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08705, allocations: 58.06 MB / 456.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003149/0.09024, allocations: 2.084 MB / 458.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.09096, allocations: 0.5221 MB / 459.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.09101, allocations: 0 / 459.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.09114, allocations: 11.98 kB / 459.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.09123, allocations: 19.84 kB / 459.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.09154, allocations: 67.84 kB / 459.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.09167, allocations: 59.77 kB / 459.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.09172, allocations: 7.984 kB / 459.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.0918, allocations: 31.86 kB / 459.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.09186, allocations: 31.89 kB / 459.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.09188, allocations: 4 kB / 459.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.09203, allocations: 71.84 kB / 459.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.09209, allocations: 35.84 kB / 459.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.09212, allocations: 27.75 kB / 459.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.0923, allocations: 131.7 kB / 459.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09231, allocations: 0 / 459.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.09232, allocations: 0 / 459.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.09233, allocations: 0 / 459.5 MB, free: 5.223 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003614/0.0927, allocations: 440.8 kB / 460 MB, free: 4.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.09274, allocations: 11.89 kB / 460 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.09278, allocations: 42.73 kB / 460 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.09282, allocations: 12.75 kB / 460 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.09297, allocations: 192.1 kB / 460.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.09299, allocations: 4.312 kB / 460.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.093, allocations: 3.938 kB / 460.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.09313, allocations: 85.67 kB / 460.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.09315, allocations: 4 kB / 460.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.09316, allocations: 4 kB / 460.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.09317, allocations: 0 / 460.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.09324, allocations: 55.98 kB / 460.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.09339, allocations: 173.6 kB / 460.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.09351, allocations: 106.4 kB / 460.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.09359, allocations: 80.88 kB / 460.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.0936, allocations: 3.984 kB / 460.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.09362, allocations: 38.56 kB / 460.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.09363, allocations: 0 / 460.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003664/0.094, allocations: 310.2 kB / 461.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.09406, allocations: 97.09 kB / 461.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.09416, allocations: 132 kB / 461.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.09418, allocations: 25.7 kB / 461.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.09423, allocations: 96.56 kB / 461.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.0943, allocations: 74.81 kB / 461.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.09434, allocations: 25.72 kB / 461.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.09445, allocations: 334.8 kB / 461.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.09451, allocations: 59.97 kB / 461.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.09456, allocations: 51.98 kB / 462 MB, free: 2.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.09481, allocations: 254.5 kB / 462.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.09482, allocations: 3.938 kB / 462.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002218/0.09505, allocations: 211.2 kB / 462.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.09511, allocations: 65.66 kB / 462.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.09512, allocations: 0 / 462.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.09514, allocations: 64 / 462.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.09515, allocations: 4 kB / 462.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.09516, allocations: 0 / 462.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.0952, allocations: 15.84 kB / 462.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.09523, allocations: 7.938 kB / 462.5 MB, free: 1.988 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.0001418/0.09538, allocations: 203.3 kB / 462.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.09541, allocations: 19.81 kB / 462.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.09542, allocations: 5.188 kB / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.09543, allocations: 0 / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.09544, allocations: 0 / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.09545, allocations: 8 kB / 462.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.09558, allocations: 201.4 kB / 462.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09558, allocations: 0 / 462.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.09559, allocations: 4 kB / 462.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.0956, allocations: 0 / 462.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.09561, allocations: 4 kB / 462.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.09562, allocations: 0 / 462.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09562, allocations: 0 / 462.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.09611, allocations: 0.5133 MB / 463.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.09616, allocations: 88.95 kB / 463.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.09619, allocations: 4 kB / 463.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.09622, allocations: 11.94 kB / 463.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.09625, allocations: 3.938 kB / 463.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.09626, allocations: 4 kB / 463.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.09632, allocations: 107.2 kB / 463.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09633, allocations: 0 / 463.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000227/0.09656, allocations: 40 kB / 463.7 MB, free: 0.6797 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.0007849/0.09735, allocations: 1.067 MB / 464.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.09797, allocations: 0.6984 MB / 465.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09798, allocations: 0 / 465.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.0984, allocations: 0.5695 MB / 466 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.09864, allocations: 37.17 kB / 466.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.1009, allocations: 2.474 MB / 468.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1012, allocations: 0.7239 MB / 469.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.8e-05/0.1012, allocations: 0 / 469.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1012, allocations: 31.42 kB / 469.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1012, allocations: 0 / 469.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/0.1416, allocations: 3.463 MB / 472.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.1418, allocations: 206.9 kB / 473 MB, free: 7.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.089, allocations: 0 / 473 MB, free: 7.324 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)