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.001517/0.001517, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001737/0.001737, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.1841/0.1841, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",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.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 62.47 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003607/0.3115, allocations: 2.274 MB / 0.5455 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3134, allocations: 1.114 MB / 0.5466 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.3135, allocations: 1.156 kB / 0.5466 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.3136, allocations: 18.72 kB / 0.5466 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.3138, allocations: 48.27 kB / 0.5466 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3148, allocations: 343.5 kB / 0.5469 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.3151, allocations: 114.7 kB / 0.5471 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.3151, allocations: 6.594 kB / 0.5471 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3153, allocations: 60 kB / 0.5471 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3154, allocations: 76.83 kB / 0.5472 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3154, allocations: 2.781 kB / 0.5472 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3164, allocations: 0.6482 MB / 0.5478 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.3165, allocations: 42.61 kB / 0.5479 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.3166, allocations: 42.97 kB / 0.5479 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.3172, allocations: 0.5391 MB / 0.5484 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3172, allocations: 0 / 0.5484 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3172, allocations: 5.312 kB / 0.5484 GB, free: 12.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3172, allocations: 0 / 0.5484 GB, free: 12.72 MB / 398.1 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.0005237/0.3178, allocations: 395.5 kB / 0.5488 GB, free: 12.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3178, allocations: 10.22 kB / 0.5488 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3179, allocations: 9.234 kB / 0.5488 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3181, allocations: 141.2 kB / 0.549 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3181, allocations: 1.344 kB / 0.549 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3181, allocations: 6.312 kB / 0.549 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3183, allocations: 95.09 kB / 0.5491 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3183, allocations: 4 kB / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3183, allocations: 1.125 kB / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3183, allocations: 5.078 kB / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.3184, allocations: 52.53 kB / 0.5491 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.3186, allocations: 153.7 kB / 0.5493 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3187, allocations: 76.95 kB / 0.5493 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.3188, allocations: 68.88 kB / 0.5494 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3188, allocations: 3.984 kB / 0.5494 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3188, allocations: 36.56 kB / 0.5495 GB, free: 11.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.3188, allocations: 0 / 0.5495 GB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.000507/0.3194, allocations: 285.4 kB / 0.5497 GB, free: 11.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.3194, allocations: 96.12 kB / 0.5498 GB, free: 11.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3195, allocations: 133.7 kB / 0.5499 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3196, allocations: 27.2 kB / 0.55 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.3196, allocations: 95.08 kB / 0.5501 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.3197, allocations: 67.86 kB / 0.5501 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3197, allocations: 31.52 kB / 0.5502 GB, free: 11.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3199, allocations: 322.7 kB / 0.5505 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.32, allocations: 56.78 kB / 0.5505 GB, free: 10.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.32, allocations: 60.03 kB / 0.5506 GB, free: 10.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3203, allocations: 229.1 kB / 0.5508 GB, free: 10.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3203, allocations: 0 / 0.5508 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002677/0.3206, allocations: 220.6 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.3206, allocations: 56.48 kB / 0.5511 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3206, allocations: 4.062 kB / 0.5511 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3207, allocations: 9.188 kB / 0.5511 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3207, allocations: 0 / 0.5511 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3207, allocations: 3.984 kB / 0.5511 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.3207, allocations: 13.33 kB / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.3207, allocations: 10.31 kB / 0.5511 GB, free: 10.55 MB / 398.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.000157/0.3209, allocations: 183.7 kB / 0.5513 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3209, allocations: 16.47 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.3209, allocations: 7.75 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3209, allocations: 4 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.321, allocations: 0 / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.321, allocations: 1.25 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.3211, allocations: 170.7 kB / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3211, allocations: 0 / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3211, allocations: 0 / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3211, allocations: 1.281 kB / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3211, allocations: 4.156 kB / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3211, allocations: 5.344 kB / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3211, allocations: 0 / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.3216, allocations: 397.3 kB / 0.5519 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.3216, allocations: 11.89 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.3216, allocations: 4.625 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.3217, allocations: 4.156 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.3217, allocations: 1.594 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3217, allocations: 6.438 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.819e-05/0.3218, allocations: 109.6 kB / 0.552 GB, free: 9.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3218, allocations: 0 / 0.552 GB, free: 9.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000444/0.3222, allocations: 131.2 kB / 0.5521 GB, free: 9.836 MB / 398.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.0004435/0.3227, allocations: 193.3 kB / 0.5523 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.3231, allocations: 318.3 kB / 0.5526 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3231, allocations: 0 / 0.5526 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3233, allocations: 212.5 kB / 0.5528 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3235, allocations: 15.78 kB / 0.5528 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.3242, allocations: 430.5 kB / 0.5532 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3245, allocations: 0.7139 MB / 0.5539 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.3245, allocations: 9.812 kB / 0.5539 GB, free: 8.406 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3245, allocations: 0 / 0.5539 GB, free: 8.406 MB / 398.1 MB Notification: Performance of Templates: time 0.00574/0.3303, allocations: 3.118 MB / 0.557 GB, free: 5.996 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.431872925022617]