Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001048/0.001048, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001001/0.001001, allocations: 165.1 kB / 24.99 MB, free: 8.285 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2672/0.2672, allocations: 29.42 MB / 291.2 MB, free: 2.438 MB / 266.7 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.298e-05, allocations: 2.312 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004229/0.004242, allocations: 4.704 MB / 374.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.005813, allocations: 1.316 MB / 375.6 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.005964, allocations: 15.88 kB / 375.7 MB, free: 5.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.006579, allocations: 406.1 kB / 376.1 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.006957, allocations: 262.5 kB / 376.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.007256, allocations: 175.4 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.007942, allocations: 0.5684 MB / 377.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.008238, allocations: 221.5 kB / 377.3 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.008601, allocations: 354.9 kB / 377.6 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.008883, allocations: 271.3 kB / 377.9 MB, free: 3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.008917, allocations: 32 kB / 377.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.009091, allocations: 135.6 kB / 378 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.009223, allocations: 207.5 kB / 378.2 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.009337, allocations: 151.6 kB / 378.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.009675, allocations: 386.7 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.009677, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009678, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.009682, allocations: 0 / 378.8 MB, free: 2.105 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0006643/0.01035, allocations: 0.7388 MB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.01037, allocations: 15.98 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.01073, allocations: 116.6 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.01111, allocations: 366.7 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.01113, allocations: 29.36 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.0112, allocations: 40.7 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.01153, allocations: 346 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01154, allocations: 0 / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.01157, allocations: 16 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.01162, allocations: 28.98 kB / 380.4 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.01183, allocations: 157.8 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.01299, allocations: 1.543 MB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.01314, allocations: 114.1 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.01321, allocations: 59.42 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.01322, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01324, allocations: 37.38 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 9.51e-07/0.01324, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008411/0.01409, allocations: 0.5693 MB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.01411, allocations: 81.11 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.0143, allocations: 338.2 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.01432, allocations: 29.64 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01445, allocations: 314.7 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.01449, allocations: 63.48 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.01455, allocations: 67.59 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003946/0.01495, allocations: 0.5118 MB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.01501, allocations: 40.27 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01513, allocations: 195.8 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.01534, allocations: 250.5 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01534, allocations: 7.938 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004266/0.01577, allocations: 343.2 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01578, allocations: 11.94 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/0.01604, allocations: 171.7 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.01635, allocations: 123.7 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01645, allocations: 47.92 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.01792, allocations: 2.363 MB / 387.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.01802, allocations: 11.94 kB / 387.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.01804, allocations: 16 kB / 387.9 MB, free: 8.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.01815, allocations: 184.4 kB / 388 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.01819, allocations: 35.81 kB / 388.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.01843, allocations: 171.4 kB / 388.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01844, allocations: 0 / 388.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01844, allocations: 4 kB / 388.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01844, allocations: 0 / 388.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.019, allocations: 0.5823 MB / 388.8 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01901, allocations: 4 kB / 388.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01911, allocations: 44.05 kB / 388.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.752e-05/0.01916, allocations: 19.67 kB / 388.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01918, allocations: 15.92 kB / 388.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01918, allocations: 0 / 388.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01918, allocations: 7.938 kB / 388.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.01946, allocations: 366.3 kB / 389.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.01949, allocations: 35.73 kB / 389.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01951, allocations: 4 kB / 389.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.18e-05/0.01958, allocations: 11.98 kB / 389.3 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.01961, allocations: 11.98 kB / 389.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01961, allocations: 4 kB / 389.3 MB, free: 6.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.01973, allocations: 223 kB / 389.6 MB, free: 6.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01973, allocations: 0 / 389.6 MB, free: 6.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000292/0.02003, allocations: 87.98 kB / 389.6 MB, free: 6.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.691e-05/0.0201, allocations: 103.2 kB / 389.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.02051, allocations: 380.2 kB / 390.1 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02051, allocations: 0 / 390.1 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.02061, allocations: 75.22 kB / 390.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.02089, allocations: 67.84 kB / 390.3 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.02202, allocations: 0.7705 MB / 391 MB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.02243, allocations: 136.4 kB / 391.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.827e-05/0.02253, allocations: 58.91 kB / 391.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.02257, allocations: 28.5 kB / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02257, allocations: 0 / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of Templates: time 0.005128/0.0277, allocations: 3.754 MB / 395 MB, free: 1.137 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.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.215268966043368]