Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001052/0.001052, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001131/0.001131, allocations: 162.1 kB / 25.61 MB, free: 8.551 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.9458/0.9458, allocations: 177.1 MB / 206 MB, free: 4.508 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.1299/0.1299, allocations: 29.44 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.491e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005237/0.005262, allocations: 4.126 MB / 375 MB, free: 28.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.007299, allocations: 1.516 MB / 376.5 MB, free: 26.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.007536, allocations: 19.81 kB / 376.6 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.008171, allocations: 230.8 kB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.008739, allocations: 294.3 kB / 377.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.009422, allocations: 263.2 kB / 377.3 MB, free: 25.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.01005, allocations: 0.6194 MB / 377.9 MB, free: 25.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.01035, allocations: 195.9 kB / 378.1 MB, free: 25.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.01093, allocations: 407 kB / 378.5 MB, free: 24.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.01137, allocations: 339.1 kB / 378.9 MB, free: 24.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.01145, allocations: 36 kB / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.01192, allocations: 239.4 kB / 379.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.01213, allocations: 243.4 kB / 379.4 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.0123, allocations: 171.6 kB / 379.5 MB, free: 23.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.013, allocations: 0.5412 MB / 380.1 MB, free: 23.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.01301, allocations: 0 / 380.1 MB, free: 23.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01301, allocations: 0 / 380.1 MB, free: 23.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.01302, allocations: 0 / 380.1 MB, free: 23.09 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001077/0.0141, allocations: 0.7816 MB / 380.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01414, allocations: 8.031 kB / 380.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000761/0.0149, allocations: 160.3 kB / 381 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.01543, allocations: 333.7 kB / 381.3 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.01545, allocations: 29.36 kB / 381.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.01559, allocations: 40.73 kB / 381.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.01612, allocations: 440.5 kB / 381.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.01614, allocations: 4 kB / 381.9 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.01618, allocations: 12 kB / 381.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.01634, allocations: 72.89 kB / 381.9 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.01679, allocations: 234.7 kB / 382.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.01927, allocations: 2.522 MB / 384.7 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.01953, allocations: 162.7 kB / 384.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.01965, allocations: 75.64 kB / 384.9 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.01968, allocations: 4.234 kB / 384.9 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.01971, allocations: 61.23 kB / 385 MB, free: 17.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.01971, allocations: 0 / 385 MB, free: 17.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001149/0.02086, allocations: 0.6334 MB / 385.6 MB, free: 17.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.02089, allocations: 81.11 kB / 385.7 MB, free: 17.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.02108, allocations: 326 kB / 386 MB, free: 16.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.0211, allocations: 29.7 kB / 386 MB, free: 16.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02122, allocations: 302.9 kB / 386.3 MB, free: 16.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.02131, allocations: 150.7 kB / 386.5 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.02143, allocations: 95.75 kB / 386.6 MB, free: 16.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.02151, allocations: 0.5275 MB / 387.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.02161, allocations: 60.89 kB / 387.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.02179, allocations: 255 kB / 387.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.02212, allocations: 345.7 kB / 387.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.02212, allocations: 4 kB / 387.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007737/0.0229, allocations: 431.9 kB / 388.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.02292, allocations: 8.562 kB / 388.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004296/0.02335, allocations: 233.2 kB / 388.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.02372, allocations: 95.27 kB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.02396, allocations: 71.91 kB / 388.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.02551, allocations: 3.607 MB / 392.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.02567, allocations: 8 kB / 392.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.0257, allocations: 16 kB / 392.2 MB, free: 10.15 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * 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 initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.02582, allocations: 184.5 kB / 392.4 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.02592, allocations: 51.75 kB / 392.4 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.02625, allocations: 264.5 kB / 392.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.02627, allocations: 8 kB / 392.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02628, allocations: 0 / 392.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02628, allocations: 3.984 kB / 392.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.02701, allocations: 0.6316 MB / 393.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.02701, allocations: 4.062 kB / 393.3 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.02724, allocations: 59.86 kB / 393.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.02725, allocations: 4 kB / 393.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.02727, allocations: 7.984 kB / 393.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.02727, allocations: 4 kB / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.02728, allocations: 0 / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.02775, allocations: 490.3 kB / 393.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.02784, allocations: 51.72 kB / 393.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.02789, allocations: 11.95 kB / 394 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.02803, allocations: 11.98 kB / 394 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.02808, allocations: 23.94 kB / 394 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.0281, allocations: 12 kB / 394 MB, free: 8.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.02822, allocations: 203 kB / 394.2 MB, free: 8.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02822, allocations: 3.938 kB / 394.2 MB, free: 8.055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005659/0.02879, allocations: 108 kB / 394.3 MB, free: 7.949 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.000237/0.02902, allocations: 135.2 kB / 394.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000696/0.02972, allocations: 0.5878 MB / 395 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02972, allocations: 0 / 395 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.02987, allocations: 106.5 kB / 395.1 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.03037, allocations: 87.73 kB / 395.2 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.03225, allocations: 0.913 MB / 396.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.03236, allocations: 145 kB / 396.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.03252, allocations: 55.23 kB / 396.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.03269, allocations: 130.2 kB / 396.5 MB, free: 5.699 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.03269, allocations: 0 / 396.5 MB, free: 5.699 MB / 314.7 MB Notification: Performance of Templates: time 0.009127/0.04182, allocations: 4.672 MB / 401.1 MB, free: 1.098 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.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.2280555739998817]