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.001102/0.001102, allocations: 109 kB / 16.92 MB, free: 6.184 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.001099/0.001099, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.317/1.317, allocations: 222.9 MB / 241.5 MB, free: 15.28 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.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 61.81 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.114, allocations: 58.06 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003976/0.118, allocations: 2.039 MB / 459 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.1188, allocations: 0.5221 MB / 459.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.1189, allocations: 4 kB / 459.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.119, allocations: 7.922 kB / 459.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.257e-05/0.1191, allocations: 27.89 kB / 459.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1195, allocations: 67.78 kB / 459.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1196, allocations: 63.77 kB / 459.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.1197, allocations: 0 / 459.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.1198, allocations: 35.84 kB / 459.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.1198, allocations: 23.91 kB / 459.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1198, allocations: 0 / 459.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.12, allocations: 83.83 kB / 459.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1201, allocations: 27.86 kB / 459.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.1202, allocations: 31.73 kB / 459.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1204, allocations: 131.8 kB / 460 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1204, allocations: 0 / 460 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1204, allocations: 4 kB / 460 MB, free: 4.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1204, allocations: 0 / 460 MB, free: 4.867 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.0004809/0.1209, allocations: 439.7 kB / 460.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.121, allocations: 11.89 kB / 460.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.121, allocations: 38.75 kB / 460.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1211, allocations: 16.73 kB / 460.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1213, allocations: 186.5 kB / 460.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1213, allocations: 8.312 kB / 460.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1213, allocations: 7.938 kB / 460.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1215, allocations: 85.67 kB / 460.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1215, allocations: 0 / 460.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1215, allocations: 4 kB / 460.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1215, allocations: 0 / 460.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.1216, allocations: 51.98 kB / 460.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.1217, allocations: 181.6 kB / 461 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1219, allocations: 102.4 kB / 461.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.1219, allocations: 84.88 kB / 461.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.122, allocations: 4 kB / 461.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.122, allocations: 30.56 kB / 461.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.122, allocations: 0 / 461.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004131/0.1224, allocations: 306.2 kB / 461.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1225, allocations: 105 kB / 461.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1226, allocations: 129.8 kB / 461.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1226, allocations: 29.64 kB / 461.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.1227, allocations: 88.58 kB / 461.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.1227, allocations: 86.83 kB / 462 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1228, allocations: 25.7 kB / 462 MB, free: 2.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1229, allocations: 326.8 kB / 462.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.123, allocations: 59.97 kB / 462.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.123, allocations: 55.98 kB / 462.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1232, allocations: 250.5 kB / 462.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1232, allocations: 3.938 kB / 462.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002621/0.1235, allocations: 215.2 kB / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.1236, allocations: 72.22 kB / 463 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.1236, allocations: 3.984 kB / 463 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1236, allocations: 0 / 463 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.1236, allocations: 0 / 463 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1236, allocations: 0 / 463 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.1237, allocations: 11.84 kB / 463 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1237, allocations: 11.94 kB / 463 MB, free: 1.633 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.0001467/0.1238, allocations: 195.4 kB / 463.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1239, allocations: 15.81 kB / 463.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.1239, allocations: 17.17 kB / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1239, allocations: 0 / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1239, allocations: 0 / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1239, allocations: 0 / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1241, allocations: 209.4 kB / 463.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1241, allocations: 0 / 463.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.1241, allocations: 0 / 463.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1241, allocations: 0 / 463.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1241, allocations: 4 kB / 463.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1241, allocations: 4 kB / 463.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1241, allocations: 0 / 463.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.1246, allocations: 0.5094 MB / 463.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1247, allocations: 88.95 kB / 464 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1247, allocations: 4 kB / 464 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.1248, allocations: 4 kB / 464 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.1248, allocations: 15.88 kB / 464 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1248, allocations: 4 kB / 464 MB, free: 480 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.875e-05/0.1249, allocations: 103.2 kB / 464.1 MB, free: 376 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1249, allocations: 4.031 kB / 464.2 MB, free: 372 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1251, allocations: 40 kB / 464.2 MB, free: 332 kB / 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.0008676/0.126, allocations: 1.067 MB / 465.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.1266, allocations: 0.7023 MB / 466 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1267, allocations: 0 / 466 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.1271, allocations: 0.5774 MB / 466.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1273, allocations: 19.98 kB / 466.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1296, allocations: 2.447 MB / 469 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1298, allocations: 0.72 MB / 469.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.832e-05/0.1298, allocations: 0 / 469.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.1299, allocations: 27.42 kB / 469.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1299, allocations: 0 / 469.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1509, allocations: 3.548 MB / 473.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.147, allocations: 3.938 kB / 473.3 MB, free: 7.125 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)