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.0007761/0.0007761, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001809, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007339/0.0007339, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002017, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08109/1.123, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.114/0.114, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1153/0.2293, allocations: 9.532 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.794e-06/1.794e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.395e-05, allocations: 5.766 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005925/0.005938, allocations: 4.904 MB / 289.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.008014, allocations: 1.397 MB / 290.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.008238, allocations: 26.75 kB / 290.6 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.0086, allocations: 126.6 kB / 290.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.009274, allocations: 388 kB / 291.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.009561, allocations: 157.7 kB / 291.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008053/0.01037, allocations: 0.7887 MB / 292 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.01062, allocations: 146.2 kB / 292.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.01169, allocations: 0.5593 MB / 292.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.01212, allocations: 304.7 kB / 293 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.01219, allocations: 35.03 kB / 293.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.01228, allocations: 36.81 kB / 293.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.01249, allocations: 187.5 kB / 293.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.01271, allocations: 154.8 kB / 293.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.01322, allocations: 378.4 kB / 293.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.01323, allocations: 7.938 kB / 293.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01323, allocations: 0 / 293.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.01325, allocations: 0 / 293.8 MB, free: 5.117 MB / 282.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.001218/0.01447, allocations: 0.8862 MB / 294.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.01451, allocations: 8.031 kB / 294.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01463, allocations: 76.88 kB / 294.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.01523, allocations: 411.4 kB / 295.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.01526, allocations: 32.94 kB / 295.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.01532, allocations: 40 kB / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.01583, allocations: 404.5 kB / 295.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01585, allocations: 4 kB / 295.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.01588, allocations: 16 kB / 295.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.01592, allocations: 24.94 kB / 295.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.01618, allocations: 168.5 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.01781, allocations: 1.478 MB / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.01815, allocations: 221.5 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.01833, allocations: 127.4 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01835, allocations: 11.98 kB / 297.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.01863, allocations: 261.9 kB / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.01863, allocations: 0 / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006837/0.01931, allocations: 0.4893 MB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.0194, allocations: 170.2 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.01969, allocations: 363.1 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01972, allocations: 29.7 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01986, allocations: 249.2 kB / 299.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.01995, allocations: 122.9 kB / 299.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.02006, allocations: 98.25 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02018, allocations: 358.7 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.02028, allocations: 73.5 kB / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.02048, allocations: 242.2 kB / 300.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.02104, allocations: 360.4 kB / 300.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.02104, allocations: 0 / 300.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000413/0.02145, allocations: 347.8 kB / 300.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.02149, allocations: 39.72 kB / 300.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.0215, allocations: 12 kB / 300.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.02152, allocations: 8 kB / 300.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.02189, allocations: 123.8 kB / 301 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.0219, allocations: 11.94 kB / 301 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.0221, allocations: 51.67 kB / 301 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.02214, allocations: 23.98 kB / 301 MB, free: 13.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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.0001574/0.0223, allocations: 186.2 kB / 301.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.02234, allocations: 39.97 kB / 301.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.02259, allocations: 306 kB / 301.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.0226, allocations: 0 / 301.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.0226, allocations: 4 kB / 301.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.0226, allocations: 0 / 301.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.02309, allocations: 0.5787 MB / 302.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02309, allocations: 0 / 302.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.02326, allocations: 71.92 kB / 302.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.02333, allocations: 67.47 kB / 302.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.02333, allocations: 4 kB / 302.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.02335, allocations: 11.98 kB / 302.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02335, allocations: 0 / 302.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.02335, allocations: 4 kB / 302.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.02368, allocations: 0.4896 MB / 302.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.02372, allocations: 15.98 kB / 302.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.02381, allocations: 8 kB / 302.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.02385, allocations: 19.95 kB / 302.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.02388, allocations: 31.98 kB / 302.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.02397, allocations: 144.7 kB / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.02397, allocations: 3.938 kB / 303 MB, free: 11.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.02422, allocations: 123.8 kB / 303.1 MB, free: 11.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 30 * 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.529e-05/0.0243, allocations: 85.8 kB / 303.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.02456, allocations: 337.2 kB / 303.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.02457, allocations: 8.062 kB / 303.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.02469, allocations: 202.3 kB / 303.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.02502, allocations: 142.4 kB / 303.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.03021, allocations: 0.9169 MB / 304.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.777e-05/0.0303, allocations: 149.7 kB / 305 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.03043, allocations: 56.25 kB / 305 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.03061, allocations: 151.3 kB / 305.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03061, allocations: 0 / 305.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Templates: time 0.006597/0.0372, allocations: 4.775 MB / 309.9 MB, free: 4.418 MB / 298.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 -ignoreHideResult -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: 2.897949518635869]