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.001457/0.001457, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001141/0.001141, allocations: 161.5 kB / 25.61 MB, free: 8.578 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 0.9446/0.9446, allocations: 177.1 MB / 206 MB, free: 4.52 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.1148/0.1148, allocations: 29.43 MB / 292 MB, free: 2.656 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.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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.179e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.01085/0.01088, allocations: 4.82 MB / 375.7 MB, free: 27.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.01288, allocations: 1.356 MB / 377.1 MB, free: 26.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.01321, allocations: 27.75 kB / 377.1 MB, free: 26.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.01666, allocations: 119.1 kB / 377.2 MB, free: 25.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008464/0.01751, allocations: 401.7 kB / 377.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.01785, allocations: 151.7 kB / 377.7 MB, free: 25.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.01858, allocations: 0.8018 MB / 378.6 MB, free: 24.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.01883, allocations: 138.4 kB / 378.7 MB, free: 24.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.02002, allocations: 0.5493 MB / 379.2 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.02044, allocations: 319.1 kB / 379.5 MB, free: 23.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.02049, allocations: 36 kB / 379.6 MB, free: 23.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.02057, allocations: 36 kB / 379.6 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.02072, allocations: 215.4 kB / 379.8 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.02088, allocations: 179.5 kB / 380 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.02129, allocations: 406.4 kB / 380.4 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.0213, allocations: 0 / 380.4 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0213, allocations: 0 / 380.4 MB, free: 22.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.02131, allocations: 4 kB / 380.4 MB, free: 22.77 MB / 314.7 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.001003/0.02231, allocations: 0.9116 MB / 381.3 MB, free: 21.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.02236, allocations: 8.031 kB / 381.3 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.0225, allocations: 96.52 kB / 381.4 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.02304, allocations: 432.9 kB / 381.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.02306, allocations: 29.38 kB / 381.9 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.02311, allocations: 44.36 kB / 381.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.02344, allocations: 419.1 kB / 382.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.02345, allocations: 0 / 382.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.02347, allocations: 19.98 kB / 382.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.0235, allocations: 17 kB / 382.4 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.02367, allocations: 192.4 kB / 382.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.02502, allocations: 1.985 MB / 384.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.02528, allocations: 248 kB / 384.8 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.0254, allocations: 136.3 kB / 384.9 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.02542, allocations: 8 kB / 384.9 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.02561, allocations: 266.8 kB / 385.2 MB, free: 17.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.02561, allocations: 0 / 385.2 MB, free: 17.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008283/0.02644, allocations: 0.8175 MB / 386 MB, free: 16.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.02648, allocations: 170.2 kB / 386.2 MB, free: 16.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.02667, allocations: 426.3 kB / 386.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.02668, allocations: 33.7 kB / 386.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.02681, allocations: 362.8 kB / 387 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.02686, allocations: 130.9 kB / 387.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.02693, allocations: 99.75 kB / 387.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.027, allocations: 0.5351 MB / 387.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.02706, allocations: 78.66 kB / 387.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.02717, allocations: 311.1 kB / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.02738, allocations: 429.2 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.02738, allocations: 4 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003384/0.02772, allocations: 436 kB / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.02775, allocations: 38.38 kB / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02776, allocations: 4 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.02777, allocations: 15.94 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.02799, allocations: 107.8 kB / 389.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.02799, allocations: 15.92 kB / 389.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.02813, allocations: 20 kB / 389.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.02816, allocations: 23.98 kB / 389.2 MB, free: 13.29 MB / 314.7 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.0001112/0.02828, allocations: 226.7 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.02833, allocations: 63.67 kB / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.02863, allocations: 374.7 kB / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02863, allocations: 11.94 kB / 389.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02864, allocations: 4 kB / 389.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.02864, allocations: 7.969 kB / 389.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.0292, allocations: 0.7626 MB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02921, allocations: 0 / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.02936, allocations: 63.91 kB / 390.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.02937, allocations: 3.938 kB / 390.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.02938, allocations: 20.05 kB / 390.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.02938, allocations: 4.062 kB / 390.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02939, allocations: 4 kB / 390.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.02977, allocations: 0.6416 MB / 391.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.02984, allocations: 63.64 kB / 391.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.02987, allocations: 11.94 kB / 391.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.02997, allocations: 12 kB / 391.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.03002, allocations: 23.95 kB / 391.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.03005, allocations: 23.97 kB / 391.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.03014, allocations: 263 kB / 391.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03014, allocations: 0 / 391.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000298/0.03044, allocations: 104 kB / 391.8 MB, free: 10.49 MB / 314.7 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 9.795e-05/0.03054, allocations: 109.9 kB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.03081, allocations: 359.9 kB / 392.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03081, allocations: 0 / 392.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.03092, allocations: 205.7 kB / 392.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.03131, allocations: 114.5 kB / 392.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.03252, allocations: 0.9183 MB / 393.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.0326, allocations: 145.7 kB / 393.7 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.03274, allocations: 56.23 kB / 393.7 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.03291, allocations: 178.1 kB / 393.9 MB, free: 8.301 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.03292, allocations: 0 / 393.9 MB, free: 8.301 MB / 314.7 MB Notification: Performance of Templates: time 0.00695/0.03987, allocations: 4.81 MB / 398.7 MB, free: 3.609 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.186336243059486]