Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008251/0.0008251, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 168.4 kB / 25.62 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9377/0.9377, allocations: 177.1 MB / 206.1 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1758/0.1758, allocations: 29.44 MB / 292 MB, free: 2.656 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.212e-05, allocations: 5.125 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002146/0.002168, allocations: 2.274 MB / 373.2 MB, free: 30.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.004111, allocations: 1.938 MB / 375.1 MB, free: 28.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.00417, allocations: 4 kB / 375.1 MB, free: 28.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.004311, allocations: 15.92 kB / 375.1 MB, free: 28.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.004396, allocations: 35.75 kB / 375.2 MB, free: 28.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.006065, allocations: 0.9778 MB / 376.1 MB, free: 27.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.006163, allocations: 75.64 kB / 376.2 MB, free: 26.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.0062, allocations: 12.17 kB / 376.2 MB, free: 26.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.006309, allocations: 47.83 kB / 376.3 MB, free: 26.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.006369, allocations: 39.88 kB / 376.3 MB, free: 26.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.006381, allocations: 4 kB / 376.3 MB, free: 26.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.00813, allocations: 1.89 MB / 378.2 MB, free: 24.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.00818, allocations: 35.86 kB / 378.2 MB, free: 24.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.008212, allocations: 19.92 kB / 378.3 MB, free: 24.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.009555, allocations: 1.516 MB / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.009558, allocations: 4 kB / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00956, allocations: 0 / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.009564, allocations: 0 / 379.8 MB, free: 23.4 MB / 314.7 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.0004837/0.01005, allocations: 0.6015 MB / 380.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.01008, allocations: 8.031 kB / 380.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.01012, allocations: 20.84 kB / 380.4 MB, free: 22.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.01023, allocations: 145.8 kB / 380.6 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.01024, allocations: 384 / 380.6 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.01025, allocations: 3.938 kB / 380.6 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.01034, allocations: 95.23 kB / 380.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.01035, allocations: 0 / 380.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.01035, allocations: 11.98 kB / 380.7 MB, free: 22.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.01036, allocations: 0 / 380.7 MB, free: 22.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.01039, allocations: 58.44 kB / 380.7 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.186e-05/0.01046, allocations: 109.1 kB / 380.8 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.01051, allocations: 84.75 kB / 380.9 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.01054, allocations: 65.41 kB / 381 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-06/0.01054, allocations: 0 / 381 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.01055, allocations: 37.33 kB / 381 MB, free: 22.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 7.81e-07/0.01055, allocations: 0 / 381 MB, free: 22.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001974/0.01075, allocations: 289.9 kB / 381.3 MB, free: 21.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.01077, allocations: 97.12 kB / 381.4 MB, free: 21.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.01083, allocations: 208.7 kB / 381.6 MB, free: 21.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.01084, allocations: 25.7 kB / 381.6 MB, free: 21.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.01087, allocations: 151.3 kB / 381.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.01095, allocations: 95.19 kB / 381.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.01098, allocations: 35.34 kB / 381.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.01103, allocations: 0.504 MB / 382.4 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.01106, allocations: 57.69 kB / 382.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.01109, allocations: 57.69 kB / 382.5 MB, free: 20.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.01115, allocations: 145.7 kB / 382.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01115, allocations: 4.031 kB / 382.7 MB, free: 20.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001319/0.01129, allocations: 204.8 kB / 382.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.01133, allocations: 65.59 kB / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01134, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01135, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.01135, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.01136, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.01141, allocations: 7.953 kB / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01142, allocations: 8 kB / 382.9 MB, free: 19.96 MB / 314.7 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 6.614e-05/0.01149, allocations: 218.2 kB / 383.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.01151, allocations: 27.84 kB / 383.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.583e-05/0.01152, allocations: 17.3 kB / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01153, allocations: 0 / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01153, allocations: 0 / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.01153, allocations: 0 / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.357e-05/0.01158, allocations: 125.1 kB / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.01158, allocations: 0 / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.01158, allocations: 0 / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.01159, allocations: 3.984 kB / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01159, allocations: 8 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.01159, allocations: 3.938 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0116, allocations: 4 kB / 383.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.01177, allocations: 319.5 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.01178, allocations: 15.84 kB / 383.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.01179, allocations: 4 kB / 383.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.679e-05/0.01182, allocations: 7.938 kB / 383.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.01183, allocations: 7.984 kB / 383.7 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01184, allocations: 4 kB / 383.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.835e-05/0.01187, allocations: 150.2 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01187, allocations: 3.938 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000571/0.01244, allocations: 343.3 kB / 384.2 MB, free: 18.64 MB / 314.7 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.0005775/0.01302, allocations: 417 kB / 384.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.01319, allocations: 274.3 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01319, allocations: 0 / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.01326, allocations: 180.7 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.01341, allocations: 16 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.01388, allocations: 402.9 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.01391, allocations: 75.33 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.465e-05/0.01392, allocations: 4 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.01401, allocations: 102.2 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01401, allocations: 3.938 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of Templates: time 0.008128/0.02214, allocations: 8.375 MB / 394 MB, free: 8.727 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2246331702917814]