Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001311/0.001311, 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.001467/0.001467, 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.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1755/0.1755, allocations: 38.53 MB / 353.2 MB, free: 12.51 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [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.001966/0.001966, allocations: 63.91 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007646/0.3164, allocations: 5.673 MB / 0.5488 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3189, allocations: 1.361 MB / 0.5501 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.3192, allocations: 27.34 kB / 0.5501 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.3197, allocations: 131.3 kB / 0.5502 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009048/0.3206, allocations: 385 kB / 0.5506 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3209, allocations: 138.3 kB / 0.5507 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.3218, allocations: 0.7514 MB / 0.5515 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.322, allocations: 128.6 kB / 0.5516 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.3225, allocations: 360.2 kB / 0.5519 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005872/0.3231, allocations: 394.7 kB / 0.5523 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.3232, allocations: 36.97 kB / 0.5524 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.3233, allocations: 36.03 kB / 0.5524 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.3235, allocations: 198.8 kB / 0.5526 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.3238, allocations: 254.6 kB / 0.5528 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.3244, allocations: 0.5316 MB / 0.5533 GB, free: 8.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3244, allocations: 0 / 0.5533 GB, free: 8.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3244, allocations: 5.062 kB / 0.5533 GB, free: 8.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3244, allocations: 0 / 0.5533 GB, free: 8.93 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001408/0.3258, allocations: 0.7419 MB / 0.5541 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3259, allocations: 13.73 kB / 0.5541 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.326, allocations: 61.97 kB / 0.5541 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.3268, allocations: 415.1 kB / 0.5545 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.3268, allocations: 36.95 kB / 0.5546 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.3269, allocations: 37.34 kB / 0.5546 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.3276, allocations: 0.5018 MB / 0.5551 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3276, allocations: 1.031 kB / 0.5551 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.3277, allocations: 20.72 kB / 0.5551 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.3277, allocations: 17.56 kB / 0.5551 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.3283, allocations: 372.4 kB / 0.5555 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.3308, allocations: 2.041 MB / 0.5575 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.3312, allocations: 221.4 kB / 0.5577 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3315, allocations: 121.7 kB / 0.5578 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3315, allocations: 4 kB / 0.5578 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3315, allocations: 34.56 kB / 0.5578 GB, free: 5.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3315, allocations: 0 / 0.5578 GB, free: 5.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.00116/0.3327, allocations: 0.6965 MB / 0.5585 GB, free: 4.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.3327, allocations: 81.05 kB / 0.5586 GB, free: 4.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.3332, allocations: 389.6 kB / 0.559 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3332, allocations: 29.7 kB / 0.559 GB, free: 3.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.3334, allocations: 295.8 kB / 0.5593 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.3335, allocations: 87.31 kB / 0.5594 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3336, allocations: 74.09 kB / 0.5594 GB, free: 3.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3338, allocations: 350.8 kB / 0.5598 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3339, allocations: 88.81 kB / 0.5599 GB, free: 3.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3342, allocations: 281.2 kB / 0.5601 GB, free: 2.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.3347, allocations: 400.4 kB / 0.5605 GB, free: 2.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3347, allocations: 0 / 0.5605 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006832/0.3354, allocations: 456.1 kB / 0.5609 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3354, allocations: 8 kB / 0.561 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3354, allocations: 8 kB / 0.561 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.3356, allocations: 52.83 kB / 0.561 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.3358, allocations: 79.84 kB / 0.5611 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3373, allocations: 1.519 MB / 0.5626 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3375, allocations: 19.94 kB / 0.5626 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3376, allocations: 28.06 kB / 0.5626 GB, free: 15.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.3379, allocations: 197.6 kB / 0.5628 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.3379, allocations: 51.66 kB / 0.5629 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.3383, allocations: 229.2 kB / 0.5631 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3383, allocations: 7.969 kB / 0.5631 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.3383, allocations: 4 kB / 0.5631 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3383, allocations: 0 / 0.5631 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.3393, allocations: 0.667 MB / 0.5637 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3393, allocations: 4 kB / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.3395, allocations: 47.97 kB / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3395, allocations: 0 / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.3396, allocations: 4 kB / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3396, allocations: 0 / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3396, allocations: 7.938 kB / 0.5638 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.3401, allocations: 429.6 kB / 0.5642 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.3402, allocations: 47.73 kB / 0.5643 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3402, allocations: 7.984 kB / 0.5643 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3404, allocations: 8 kB / 0.5643 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.3404, allocations: 20.03 kB / 0.5643 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3404, allocations: 8 kB / 0.5643 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.3407, allocations: 255.2 kB / 0.5645 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 0.5645 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004361/0.3411, allocations: 91.94 kB / 0.5646 GB, free: 13.74 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001605/0.3413, allocations: 99.19 kB / 0.5647 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.342, allocations: 370.4 kB / 0.5651 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.342, allocations: 0 / 0.5651 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3421, allocations: 85.34 kB / 0.5652 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.3427, allocations: 100.2 kB / 0.5653 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3442, allocations: 0.9075 MB / 0.5661 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.3448, allocations: 0.8584 MB / 0.567 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.3449, allocations: 31.44 kB / 0.567 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3449, allocations: 0 / 0.567 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.009145/0.354, allocations: 6.009 MB / 0.5729 GB, free: 5.219 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.792203503893688]