Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.0009311/0.0009311, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000922/0.000922, allocations: 168.8 kB / 24.91 MB, free: 9.191 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 1.099/1.099, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.249/0.249, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.848e-05, allocations: 6.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002587/0.002606, allocations: 2.372 MB / 319.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003877, allocations: 1.062 MB / 320.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.003931, allocations: 4 kB / 320.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.004105, allocations: 19.84 kB / 320.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.004242, allocations: 59.72 kB / 320.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.005016, allocations: 330.8 kB / 320.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.005174, allocations: 123.5 kB / 320.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.005229, allocations: 11.84 kB / 320.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.005394, allocations: 59.8 kB / 320.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.005499, allocations: 63.84 kB / 321 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.005514, allocations: 7.984 kB / 321 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.006163, allocations: 0.5805 MB / 321.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.006221, allocations: 47.83 kB / 321.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.006256, allocations: 27.92 kB / 321.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.007012, allocations: 0.5532 MB / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007015, allocations: 4 kB / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007016, allocations: 0 / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.007021, allocations: 3.938 kB / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003502/0.007371, allocations: 361.7 kB / 322.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.007408, allocations: 12.02 kB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.007441, allocations: 4.938 kB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.007597, allocations: 153.5 kB / 322.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.007607, allocations: 4.375 kB / 322.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.007615, allocations: 384 / 322.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.007733, allocations: 102.7 kB / 322.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007743, allocations: 3.938 kB / 322.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-06/0.00775, allocations: 0 / 322.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.007756, allocations: 0 / 322.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.007795, allocations: 57.69 kB / 322.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.811e-05/0.007873, allocations: 67.77 kB / 323 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.00794, allocations: 76.27 kB / 323 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.007979, allocations: 66.58 kB / 323.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/0.007983, allocations: 3.984 kB / 323.1 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.008006, allocations: 34.5 kB / 323.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 6.51e-07/0.008006, allocations: 0 / 323.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002087/0.008215, allocations: 245.5 kB / 323.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.008254, allocations: 101 kB / 323.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.008335, allocations: 129 kB / 323.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.008347, allocations: 25.7 kB / 323.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.008378, allocations: 92.44 kB / 323.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.008435, allocations: 67.72 kB / 323.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.008472, allocations: 25.69 kB / 323.8 MB, free: 8.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.008568, allocations: 330.8 kB / 324.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.00861, allocations: 60.52 kB / 324.2 MB, free: 8.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.00865, allocations: 57.69 kB / 324.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.00874, allocations: 145.8 kB / 324.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.008742, allocations: 0 / 324.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001259/0.008868, allocations: 179.6 kB / 324.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.008907, allocations: 53.67 kB / 324.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.008913, allocations: 0 / 324.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008927, allocations: 0 / 324.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.008929, allocations: 0 / 324.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.008936, allocations: 7.984 kB / 324.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.008979, allocations: 15.89 kB / 324.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.008998, allocations: 8 kB / 324.7 MB, free: 7.914 MB / 298.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 9.134e-05/0.009089, allocations: 170.3 kB / 324.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.009105, allocations: 15.98 kB / 324.8 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.009124, allocations: 13.12 kB / 324.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.009127, allocations: 0 / 324.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.00913, allocations: 3.938 kB / 324.9 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009132, allocations: 3.938 kB / 324.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.063e-05/0.009193, allocations: 73.89 kB / 324.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.009195, allocations: 3.984 kB / 324.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.009196, allocations: 4 kB / 324.9 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.009199, allocations: 4 kB / 324.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.009209, allocations: 4 kB / 324.9 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.009209, allocations: 0 / 324.9 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.00921, allocations: 4 kB / 325 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.009417, allocations: 278 kB / 325.2 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.00943, allocations: 11.89 kB / 325.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.009443, allocations: 4 kB / 325.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.009462, allocations: 4 kB / 325.2 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.009476, allocations: 4 kB / 325.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.009487, allocations: 12.02 kB / 325.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.519e-05/0.009512, allocations: 27.8 kB / 325.3 MB, free: 7.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.009513, allocations: 0 / 325.3 MB, free: 7.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.009849, allocations: 135.8 kB / 325.4 MB, free: 7.082 MB / 298.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.0002893/0.01014, allocations: 186.1 kB / 325.6 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.01035, allocations: 271.5 kB / 325.9 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.01035, allocations: 4 kB / 325.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.01044, allocations: 171.6 kB / 326 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.01056, allocations: 28.09 kB / 326.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.01092, allocations: 356.7 kB / 326.4 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.01096, allocations: 75.58 kB / 326.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.5e-05/0.01097, allocations: 11.97 kB / 326.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.01107, allocations: 87.38 kB / 326.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01107, allocations: 4 kB / 326.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of Templates: time 0.00551/0.01658, allocations: 4.161 MB / 330.7 MB, free: 1.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.0640520248562098]