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.001529/0.001529, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001682/0.001682, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.174/0.174, allocations: 38.52 MB / 353.2 MB, free: 12.52 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.001982/0.001982, allocations: 67.89 kB / 493.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2866, allocations: 62.46 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006679/0.2933, allocations: 5.698 MB / 0.5488 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2955, allocations: 1.41 MB / 0.5502 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.2957, allocations: 27 kB / 0.5502 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.2961, allocations: 139.9 kB / 0.5503 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.2968, allocations: 392.4 kB / 0.5507 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.2971, allocations: 154.4 kB / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008041/0.2979, allocations: 0.7735 MB / 0.5516 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.2982, allocations: 141.6 kB / 0.5517 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.2987, allocations: 360.8 kB / 0.5521 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.2993, allocations: 424.6 kB / 0.5525 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.224e-05/0.2994, allocations: 40.31 kB / 0.5525 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.2994, allocations: 39.94 kB / 0.5526 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.2996, allocations: 217.4 kB / 0.5528 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.2999, allocations: 272.5 kB / 0.553 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.3006, allocations: 0.582 MB / 0.5536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3006, allocations: 0 / 0.5536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3006, allocations: 0 / 0.5536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3006, allocations: 1.094 kB / 0.5536 GB, free: 8.77 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.001406/0.302, allocations: 0.8366 MB / 0.5544 GB, free: 8.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.302, allocations: 13.05 kB / 0.5544 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3021, allocations: 61.75 kB / 0.5545 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.3029, allocations: 450.8 kB / 0.5549 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.303, allocations: 33.19 kB / 0.5549 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.303, allocations: 43.83 kB / 0.555 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.3038, allocations: 0.5341 MB / 0.5555 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3038, allocations: 5.062 kB / 0.5555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.3039, allocations: 16.25 kB / 0.5555 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.3039, allocations: 18.62 kB / 0.5555 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3045, allocations: 396 kB / 0.5559 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.3068, allocations: 1.887 MB / 0.5578 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.3074, allocations: 317.2 kB / 0.5581 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.3077, allocations: 157.7 kB / 0.5582 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3077, allocations: 8.25 kB / 0.5582 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003659/0.3081, allocations: 280.8 kB / 0.5585 GB, free: 4.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.3081, allocations: 0 / 0.5585 GB, free: 4.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.001731/0.3098, allocations: 1.129 MB / 0.5596 GB, free: 3.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3099, allocations: 174.2 kB / 0.5598 GB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.3103, allocations: 393.9 kB / 0.5601 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.3103, allocations: 33.7 kB / 0.5602 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.3105, allocations: 292.3 kB / 0.5605 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3106, allocations: 134.9 kB / 0.5606 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3108, allocations: 90.14 kB / 0.5607 GB, free: 2.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3109, allocations: 362.8 kB / 0.561 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.3111, allocations: 124.9 kB / 0.5611 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.3115, allocations: 285.5 kB / 0.5614 GB, free: 1.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.312, allocations: 485.3 kB / 0.5619 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.312, allocations: 0 / 0.5619 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000731/0.3127, allocations: 0.522 MB / 0.5624 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.3128, allocations: 40.67 kB / 0.5624 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3128, allocations: 4 kB / 0.5624 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3128, allocations: 15.94 kB / 0.5624 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.3132, allocations: 103.8 kB / 0.5625 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.3132, allocations: 11.94 kB / 0.5625 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3135, allocations: 24.3 kB / 0.5626 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.3135, allocations: 35.97 kB / 0.5626 GB, free: 28 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.000267/0.3138, allocations: 239.4 kB / 0.5628 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.3139, allocations: 51.66 kB / 0.5629 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.3145, allocations: 451.4 kB / 0.5633 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3145, allocations: 11.92 kB / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3145, allocations: 4 kB / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3145, allocations: 0 / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.3158, allocations: 0.9424 MB / 0.5642 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3158, allocations: 4 kB / 0.5643 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.3161, allocations: 67.89 kB / 0.5643 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3161, allocations: 0 / 0.5643 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3161, allocations: 12 kB / 0.5643 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3161, allocations: 0 / 0.5643 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3161, allocations: 0 / 0.5643 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.3171, allocations: 0.7154 MB / 0.565 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.3172, allocations: 63.72 kB / 0.5651 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.3173, allocations: 8 kB / 0.5651 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.3175, allocations: 19.92 kB / 0.5651 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.3176, allocations: 31.95 kB / 0.5651 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.3177, allocations: 39.94 kB / 0.5652 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.3181, allocations: 267.1 kB / 0.5654 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3181, allocations: 0 / 0.5654 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004788/0.3186, allocations: 100 kB / 0.5655 GB, free: 12.9 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.0001119/0.3187, allocations: 111.2 kB / 0.5656 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.3193, allocations: 402.6 kB / 0.566 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3193, allocations: 0 / 0.566 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.3195, allocations: 232.7 kB / 0.5662 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.3201, allocations: 111.3 kB / 0.5663 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3217, allocations: 1.033 MB / 0.5674 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.3222, allocations: 0.8935 MB / 0.5682 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3223, allocations: 43.41 kB / 0.5683 GB, free: 9.992 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3223, allocations: 3.938 kB / 0.5683 GB, free: 9.988 MB / 414.1 MB Notification: Performance of Templates: time 0.008482/0.3308, allocations: 5.955 MB / 0.5741 GB, free: 4.051 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: 7.8069655280560255]