Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 108 kB / 17.28 MB, free: 6.199 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.001569/0.001569, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.117/2.117, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3523/0.3523, allocations: 38.03 MB / 330.1 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 65.16 kB / 399 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.122, allocations: 58.06 MB / 457 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003484/0.1255, allocations: 2.073 MB / 459.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.1264, allocations: 0.5298 MB / 459.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.1264, allocations: 0 / 459.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1266, allocations: 11.94 kB / 459.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.1267, allocations: 23.89 kB / 459.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.127, allocations: 59.86 kB / 459.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1271, allocations: 67.7 kB / 459.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1272, allocations: 4 kB / 459.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.1272, allocations: 31.91 kB / 459.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.1273, allocations: 35.83 kB / 459.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1273, allocations: 0 / 459.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1275, allocations: 71.84 kB / 459.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1276, allocations: 43.84 kB / 460 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1276, allocations: 43.55 kB / 460 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1278, allocations: 104.1 kB / 460.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1278, allocations: 4 kB / 460.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1278, allocations: 0 / 460.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1278, allocations: 0 / 460.1 MB, free: 5.297 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004584/0.1283, allocations: 484.5 kB / 460.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1283, allocations: 11.89 kB / 460.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1284, allocations: 16.69 kB / 460.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.1286, allocations: 202.2 kB / 460.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1286, allocations: 3.938 kB / 460.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1286, allocations: 4 kB / 460.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1288, allocations: 130.6 kB / 460.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1288, allocations: 3.984 kB / 460.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1288, allocations: 8 kB / 461 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1288, allocations: 0 / 461 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1289, allocations: 92.23 kB / 461 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1291, allocations: 206 kB / 461.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1292, allocations: 150.9 kB / 461.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1294, allocations: 141.2 kB / 461.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.1294, allocations: 4 kB / 461.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1294, allocations: 34.56 kB / 461.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.182e-06/0.1294, allocations: 3.938 kB / 461.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005879/0.13, allocations: 471.6 kB / 462 MB, free: 3.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.1301, allocations: 113.1 kB / 462.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1302, allocations: 149.6 kB / 462.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1303, allocations: 25.7 kB / 462.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1303, allocations: 96.8 kB / 462.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1304, allocations: 133.9 kB / 462.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1305, allocations: 33.73 kB / 462.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1306, allocations: 338.8 kB / 462.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.1307, allocations: 91.97 kB / 463 MB, free: 2.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.748e-05/0.1308, allocations: 88.95 kB / 463.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.1311, allocations: 368.4 kB / 463.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1311, allocations: 0 / 463.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003507/0.1315, allocations: 326.9 kB / 463.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.1316, allocations: 85.62 kB / 463.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1316, allocations: 0 / 463.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1316, allocations: 4.062 kB / 463.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.1316, allocations: 0 / 463.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1316, allocations: 4 kB / 463.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1317, allocations: 19.75 kB / 463.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.1317, allocations: 11.92 kB / 463.9 MB, free: 1.25 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.0001982/0.1319, allocations: 239.4 kB / 464.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.132, allocations: 19.81 kB / 464.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.132, allocations: 9.969 kB / 464.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.132, allocations: 0 / 464.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.132, allocations: 7.984 kB / 464.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.132, allocations: 0 / 464.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1322, allocations: 233.2 kB / 464.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1322, allocations: 4 kB / 464.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.1322, allocations: 0 / 464.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1322, allocations: 0 / 464.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1323, allocations: 4 kB / 464.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1323, allocations: 0 / 464.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1323, allocations: 4 kB / 464.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009227/0.1332, allocations: 0.9043 MB / 465.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1333, allocations: 100.7 kB / 465.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1333, allocations: 8 kB / 465.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.1333, allocations: 8 kB / 465.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1334, allocations: 8 kB / 465.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1334, allocations: 4 kB / 465.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.1335, allocations: 115.2 kB / 465.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1335, allocations: 0 / 465.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1338, allocations: 63.94 kB / 465.6 MB, free: 15.43 MB / 350.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.0002052/0.134, allocations: 123.2 kB / 465.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1353, allocations: 1.585 MB / 467.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1353, allocations: 0 / 467.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.1364, allocations: 1.37 MB / 468.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1366, allocations: 19.94 kB / 468.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.1376, allocations: 0.7174 MB / 469.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1379, allocations: 0.7547 MB / 470.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.138, allocations: 7.438 kB / 470.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.138, allocations: 0 / 470.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Templates: time 0.004143/0.1421, allocations: 2.314 MB / 472.5 MB, free: 8.453 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches