Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001427/0.001427, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001637/0.001637, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1827/0.1827, allocations: 38.55 MB / 353.2 MB, free: 12.33 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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [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.002092/0.002092, allocations: 68.09 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3029, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007321/0.3102, allocations: 5.321 MB / 0.5484 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3128, allocations: 1.308 MB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.3132, allocations: 27.84 kB / 0.5497 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.3138, allocations: 129.8 kB / 0.5498 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.315, allocations: 389.1 kB / 0.5502 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.3154, allocations: 157.6 kB / 0.5503 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.3165, allocations: 0.7827 MB / 0.5511 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.3168, allocations: 132.3 kB / 0.5512 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.3176, allocations: 365.4 kB / 0.5515 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007873/0.3184, allocations: 404.5 kB / 0.5519 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3185, allocations: 44.52 kB / 0.552 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.3187, allocations: 40.22 kB / 0.552 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.3189, allocations: 209.8 kB / 0.5522 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.3193, allocations: 227.1 kB / 0.5524 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.3202, allocations: 0.5881 MB / 0.553 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3202, allocations: 1.219 kB / 0.553 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3202, allocations: 0 / 0.553 GB, free: 9.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.109e-05/0.3202, allocations: 0 / 0.553 GB, free: 9.18 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002126/0.3223, allocations: 0.8371 MB / 0.5538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3224, allocations: 13.89 kB / 0.5538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.3226, allocations: 60.94 kB / 0.5539 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.3236, allocations: 451.4 kB / 0.5543 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.3236, allocations: 33.78 kB / 0.5544 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.3237, allocations: 38.88 kB / 0.5544 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009161/0.3246, allocations: 0.568 MB / 0.5549 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3246, allocations: 7.875 kB / 0.555 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.3247, allocations: 21.28 kB / 0.555 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.3247, allocations: 21.72 kB / 0.555 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.3254, allocations: 426.2 kB / 0.5554 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.3279, allocations: 1.686 MB / 0.5571 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.3285, allocations: 339 kB / 0.5574 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.3289, allocations: 203.3 kB / 0.5576 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3289, allocations: 256 / 0.5576 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.3293, allocations: 314.5 kB / 0.5579 GB, free: 4.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.3293, allocations: 0 / 0.5579 GB, free: 4.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002077/0.3314, allocations: 1.206 MB / 0.559 GB, free: 3.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.3315, allocations: 162.2 kB / 0.5592 GB, free: 3.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.332, allocations: 405.8 kB / 0.5596 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3321, allocations: 33.7 kB / 0.5596 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.3323, allocations: 304.2 kB / 0.5599 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3324, allocations: 123 kB / 0.56 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3326, allocations: 90.14 kB / 0.5601 GB, free: 2.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3328, allocations: 358.8 kB / 0.5605 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.333, allocations: 142.6 kB / 0.5606 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.3333, allocations: 327.3 kB / 0.5609 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.334, allocations: 473.3 kB / 0.5614 GB, free: 1.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.334, allocations: 4 kB / 0.5614 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008324/0.3348, allocations: 0.5474 MB / 0.5619 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.3348, allocations: 37.64 kB / 0.5619 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3348, allocations: 12.06 kB / 0.5619 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.3349, allocations: 8 kB / 0.5619 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.3353, allocations: 107.8 kB / 0.5621 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.3353, allocations: 11.94 kB / 0.5621 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.3356, allocations: 23.98 kB / 0.5621 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.3357, allocations: 35.97 kB / 0.5621 GB, free: 208 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0003141/0.336, allocations: 243.4 kB / 0.5624 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.3361, allocations: 55.64 kB / 0.5624 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.3368, allocations: 485.1 kB / 0.5629 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3368, allocations: 4 kB / 0.5629 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3368, allocations: 0 / 0.5629 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.3369, allocations: 4 kB / 0.5629 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.3383, allocations: 0.89 MB / 0.5637 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3383, allocations: 64 / 0.5637 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3386, allocations: 71.89 kB / 0.5638 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.3386, allocations: 12 kB / 0.5638 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3386, allocations: 8 kB / 0.5638 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3386, allocations: 3.938 kB / 0.5638 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3386, allocations: 4 kB / 0.5638 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3397, allocations: 0.7734 MB / 0.5646 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.3399, allocations: 67.64 kB / 0.5647 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.3399, allocations: 12 kB / 0.5647 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.3401, allocations: 15.98 kB / 0.5647 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.3402, allocations: 19.97 kB / 0.5647 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.3403, allocations: 36.02 kB / 0.5647 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.3406, allocations: 271.1 kB / 0.565 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3406, allocations: 0 / 0.565 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004853/0.3411, allocations: 104 kB / 0.5651 GB, free: 13.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001308/0.3412, allocations: 107.1 kB / 0.5652 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.3419, allocations: 463.3 kB / 0.5656 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3419, allocations: 8.062 kB / 0.5656 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.3422, allocations: 260.9 kB / 0.5659 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.3428, allocations: 96.41 kB / 0.566 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.3445, allocations: 1.062 MB / 0.567 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3449, allocations: 280 kB / 0.5673 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.345, allocations: 51.36 kB / 0.5673 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.345, allocations: 0 / 0.5673 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.01025/0.3552, allocations: 6.176 MB / 0.5734 GB, free: 4.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.397475960664451]