Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.001559/0.001559, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001731/0.001731, allocations: 165.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.1708/0.1708, allocations: 29.43 MB / 290.1 MB, free: 3.297 MB / 270.1 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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.558e-05, allocations: 5.375 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01032/0.01035, allocations: 8.283 MB / 439 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.01679, allocations: 2.881 MB / 441.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.01775, allocations: 47.62 kB / 441.9 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.02098, allocations: 1.049 MB / 443 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.02298, allocations: 0.6563 MB / 443.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.02521, allocations: 0.7671 MB / 444.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.02754, allocations: 1.66 MB / 446.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.02878, allocations: 0.6827 MB / 446.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.03066, allocations: 0.9776 MB / 447.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1645/0.1952, allocations: 0.8927 MB / 448.6 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.1956, allocations: 104.2 kB / 448.7 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1967, allocations: 499.3 kB / 449.2 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.1973, allocations: 0.7037 MB / 449.9 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.1978, allocations: 0.4953 MB / 450.4 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.1996, allocations: 1.846 MB / 452.3 MB, free: 16.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1996, allocations: 4.344 kB / 452.3 MB, free: 16.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1996, allocations: 0 / 452.3 MB, free: 16.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.1996, allocations: 0.6094 kB / 452.3 MB, free: 16.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002611/0.2022, allocations: 1.598 MB / 453.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2023, allocations: 14.33 kB / 453.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.2044, allocations: 402.9 kB / 454.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.2058, allocations: 0.8107 MB / 455.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.2058, allocations: 89.8 kB / 455.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.2061, allocations: 150.9 kB / 455.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.2085, allocations: 1.853 MB / 457.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.2086, allocations: 16.55 kB / 457.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.2087, allocations: 52.55 kB / 457.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002837/0.209, allocations: 97.64 kB / 457.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.2112, allocations: 1.482 MB / 458.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007205/0.2184, allocations: 7.728 MB / 466.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2195, allocations: 0.6592 MB / 467.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.2201, allocations: 452.2 kB / 467.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.2202, allocations: 10.78 kB / 467.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2202, allocations: 43.69 kB / 467.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.2202, allocations: 0 / 467.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.004174/0.2244, allocations: 2.39 MB / 470.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.2244, allocations: 87.67 kB / 470.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2255, allocations: 0.8125 MB / 471 MB, free: 7.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.2256, allocations: 39.44 kB / 471 MB, free: 7.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.2259, allocations: 0.7019 MB / 471.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.2261, allocations: 315.7 kB / 472 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.2265, allocations: 260 kB / 472.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2266, allocations: 417.3 kB / 472.7 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.2272, allocations: 451.3 kB / 473.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.228, allocations: 1.005 MB / 474.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.2298, allocations: 1.59 MB / 475.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.2298, allocations: 4.781 kB / 475.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00284/0.2326, allocations: 1.767 MB / 477.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.2327, allocations: 13.38 kB / 477.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001469/0.2341, allocations: 0.9733 MB / 478.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/0.2349, allocations: 249.4 kB / 478.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/0.2358, allocations: 313.9 kB / 479 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.2395, allocations: 4.775 MB / 483.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/0.2405, allocations: 49.67 kB / 483.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2406, allocations: 68.33 kB / 483.9 MB, free: 14.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (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.0007723/0.2414, allocations: 434.5 kB / 484.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.2416, allocations: 103.4 kB / 484.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.2431, allocations: 0.9451 MB / 485.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2431, allocations: 7.438 kB / 485.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2431, allocations: 2 kB / 485.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.2431, allocations: 14.75 kB / 485.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.2467, allocations: 1.859 MB / 487.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2467, allocations: 6.438 kB / 487.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.2475, allocations: 189.4 kB / 487.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.2475, allocations: 4.969 kB / 487.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.2476, allocations: 27.52 kB / 487.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.2476, allocations: 8.484 kB / 487.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2476, allocations: 6.25 kB / 487.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.2497, allocations: 1.398 MB / 488.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.2499, allocations: 91.33 kB / 489 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.25, allocations: 24 kB / 489 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.2504, allocations: 23.98 kB / 489 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2506, allocations: 56.48 kB / 489.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.2506, allocations: 31.88 kB / 489.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006567/0.2513, allocations: 0.5107 MB / 489.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2513, allocations: 0 / 489.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001134/0.2524, allocations: 296 kB / 489.9 MB, free: 10.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * Array equations: 0 * 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.0001737/0.2526, allocations: 125.6 kB / 490.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.2548, allocations: 1.413 MB / 491.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2548, allocations: 0 / 491.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.2554, allocations: 384.9 kB / 491.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.2563, allocations: 186.7 kB / 492 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.2602, allocations: 2.54 MB / 494.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/0.2609, allocations: 0.6459 MB / 495.2 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009051/0.2618, allocations: 416.5 kB / 495.6 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.2621, allocations: 80.48 kB / 495.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of SimCode: time 5.2e-07/0.2621, allocations: 3.469 kB / 495.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of Templates: time 0.02039/0.2825, allocations: 10.67 MB / 0.4945 GB, free: 10.48 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.928570158779621]