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.0011/0.0011, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001097/0.001097, allocations: 170.3 kB / 24.81 MB, free: 9.262 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 1.118/1.118, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2821/0.2821, allocations: 29.42 MB / 291.2 MB, free: 2.383 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.814e-06/1.814e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.857e-05, allocations: 9.688 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005635/0.005654, allocations: 4.797 MB / 374.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.007754, allocations: 1.348 MB / 376.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.008051, allocations: 31.69 kB / 376.3 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.00848, allocations: 123.1 kB / 376.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007845/0.009265, allocations: 393.8 kB / 376.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.009576, allocations: 151.7 kB / 377 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000779/0.01036, allocations: 0.8057 MB / 377.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.0106, allocations: 142.3 kB / 377.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.01141, allocations: 0.5494 MB / 378.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.01183, allocations: 319.1 kB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.01189, allocations: 32 kB / 378.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.01196, allocations: 40 kB / 378.8 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.01214, allocations: 215.4 kB / 379 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.01231, allocations: 175.5 kB / 379.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.01276, allocations: 410.4 kB / 379.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.01276, allocations: 0 / 379.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01276, allocations: 0 / 379.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.01277, allocations: 0 / 379.6 MB, free: 1.145 MB / 346.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.00132/0.01409, allocations: 0.912 MB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.01412, allocations: 11.98 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.01421, allocations: 100.5 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.01464, allocations: 432.9 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.01466, allocations: 33.36 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.0147, allocations: 40.38 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.01506, allocations: 419.1 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01507, allocations: 4 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.01509, allocations: 23.98 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.01512, allocations: 17 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.0153, allocations: 188.4 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.01662, allocations: 1.981 MB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.01688, allocations: 254.8 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.01701, allocations: 129.1 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01703, allocations: 15.98 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.01723, allocations: 269.4 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.01723, allocations: 0 / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008658/0.0181, allocations: 0.8172 MB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.01816, allocations: 170.2 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.0184, allocations: 430.3 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01842, allocations: 33.7 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.01857, allocations: 354.9 kB / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.01863, allocations: 126.9 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.01872, allocations: 103.8 kB / 386.4 MB, free: 9.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01885, allocations: 0.5312 MB / 386.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.01892, allocations: 78.64 kB / 387 MB, free: 9.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.01917, allocations: 315 kB / 387.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.01943, allocations: 429.2 kB / 387.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01944, allocations: 4 kB / 387.8 MB, free: 8.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003565/0.01979, allocations: 436.7 kB / 388.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.01982, allocations: 37.69 kB / 388.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01983, allocations: 8.031 kB / 388.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01984, allocations: 11.94 kB / 388.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.02012, allocations: 107.8 kB / 388.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.02013, allocations: 15.92 kB / 388.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.02025, allocations: 19.95 kB / 388.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.02029, allocations: 27.98 kB / 388.4 MB, free: 7.645 MB / 362.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.0001351/0.02042, allocations: 226 kB / 388.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.02047, allocations: 59.72 kB / 388.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.0208, allocations: 389.1 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.0208, allocations: 7.938 kB / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.0208, allocations: 0 / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.02081, allocations: 3.984 kB / 389.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.0215, allocations: 0.7585 MB / 389.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.0215, allocations: 0 / 389.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.02166, allocations: 63.97 kB / 389.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.02166, allocations: 3.938 kB / 389.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.02168, allocations: 12.06 kB / 389.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02168, allocations: 4 kB / 389.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02168, allocations: 0 / 389.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.02217, allocations: 0.6493 MB / 390.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.02224, allocations: 59.69 kB / 390.6 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.02227, allocations: 11.94 kB / 390.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.02237, allocations: 11.98 kB / 390.6 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.02241, allocations: 23.97 kB / 390.7 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.02244, allocations: 35.89 kB / 390.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.02257, allocations: 266.9 kB / 391 MB, free: 4.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02257, allocations: 8.031 kB / 391 MB, free: 4.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.02284, allocations: 96 kB / 391.1 MB, free: 4.844 MB / 362.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 8.785e-05/0.02293, allocations: 111.2 kB / 391.2 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.02322, allocations: 340.8 kB / 391.5 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02322, allocations: 0 / 391.5 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.02336, allocations: 216.9 kB / 391.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.02373, allocations: 109.1 kB / 391.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.02496, allocations: 0.9252 MB / 392.8 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.02505, allocations: 145.7 kB / 392.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.02519, allocations: 60.23 kB / 393 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.02538, allocations: 174.1 kB / 393.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02538, allocations: 0 / 393.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of Templates: time 0.006788/0.03217, allocations: 4.712 MB / 397.8 MB, free: 14.06 MB / 378.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.283613968640566]