Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.0009826/0.0009826, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001153/0.001153, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.652 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.2632/0.2632, allocations: 29.41 MB / 290.9 MB, free: 2.465 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.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.583e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005966/0.005992, allocations: 6.756 MB / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.009667, allocations: 3.248 MB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.009965, allocations: 19.94 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.01104, allocations: 0.7158 MB / 380.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.01315, allocations: 1.291 MB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.01388, allocations: 362.7 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.01527, allocations: 1.398 MB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007702/0.01604, allocations: 0.5743 MB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.01713, allocations: 0.8256 MB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008954/0.01802, allocations: 0.7518 MB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.01813, allocations: 76 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.02028, allocations: 1.418 MB / 387.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.02072, allocations: 0.6587 MB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.0211, allocations: 407.2 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.02343, allocations: 1.667 MB / 389.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.02344, allocations: 4 kB / 389.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.02344, allocations: 0 / 389.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.02349, allocations: 0 / 389.8 MB, free: 6.746 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001848/0.02534, allocations: 1.399 MB / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.02538, allocations: 15.98 kB / 391.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.02765, allocations: 0.7491 MB / 392 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.0284, allocations: 0.4978 MB / 392.5 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.02845, allocations: 66.36 kB / 392.5 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.02856, allocations: 88.36 kB / 392.6 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.02972, allocations: 0.8969 MB / 393.5 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.02975, allocations: 12.08 kB / 393.5 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.02981, allocations: 36.36 kB / 393.6 MB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-05/0.0299, allocations: 101.9 kB / 393.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.03089, allocations: 0.6482 MB / 394.3 MB, free: 2.113 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.0352, allocations: 3.655 MB / 398 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.03604, allocations: 0.6499 MB / 398.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/0.03645, allocations: 345.7 kB / 398.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.0365, allocations: 24.94 kB / 399 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.03653, allocations: 46.39 kB / 399 MB, free: 13.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 4.007e-06/0.03654, allocations: 0 / 399 MB, free: 13.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.003899/0.04044, allocations: 2.266 MB / 401.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.04049, allocations: 94.05 kB / 401.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.04085, allocations: 482.4 kB / 401.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.04089, allocations: 41.7 kB / 401.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.04112, allocations: 495.5 kB / 402.4 MB, free: 9.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.04136, allocations: 396.6 kB / 402.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.04157, allocations: 204.6 kB / 403 MB, free: 9.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.04174, allocations: 0.5664 MB / 403.5 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.04207, allocations: 222.5 kB / 403.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.04254, allocations: 0.5212 MB / 404.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.04338, allocations: 0.8042 MB / 405.1 MB, free: 6.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.04339, allocations: 0 / 405.1 MB, free: 6.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001467/0.04486, allocations: 1.124 MB / 406.2 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.04488, allocations: 8 kB / 406.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.04489, allocations: 8 kB / 406.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.04558, allocations: 308.5 kB / 406.5 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.04607, allocations: 239.6 kB / 406.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.04985, allocations: 5.193 MB / 411.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.05026, allocations: 67.94 kB / 412 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.05031, allocations: 43.98 kB / 412 MB, free: 15.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * 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 {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.05056, allocations: 216.4 kB / 412.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.05067, allocations: 111.5 kB / 412.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.05205, allocations: 1.086 MB / 413.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.05205, allocations: 12 kB / 413.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.05206, allocations: 8 kB / 413.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.05207, allocations: 3.984 kB / 413.5 MB, free: 14.16 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.05493, allocations: 2.187 MB / 415.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.05494, allocations: 12.05 kB / 415.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.05533, allocations: 191.7 kB / 415.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.05586, allocations: 259.1 kB / 416.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.05592, allocations: 28 kB / 416.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/0.05937, allocations: 5.093 MB / 421.2 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.05937, allocations: 7.938 kB / 421.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.06082, allocations: 1.287 MB / 422.5 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.06095, allocations: 99.31 kB / 422.6 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.06101, allocations: 27.94 kB / 422.6 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.06127, allocations: 47.95 kB / 422.7 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.0614, allocations: 104.7 kB / 422.8 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.06145, allocations: 36 kB / 422.8 MB, free: 4.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.06165, allocations: 291 kB / 423.1 MB, free: 4.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06165, allocations: 0 / 423.1 MB, free: 4.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008534/0.06251, allocations: 392 kB / 423.5 MB, free: 3.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.06266, allocations: 131.1 kB / 423.6 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.06399, allocations: 1.235 MB / 424.9 MB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.06399, allocations: 4 kB / 424.9 MB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.06475, allocations: 0.8934 MB / 425.8 MB, free: 1.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.06521, allocations: 106.3 kB / 425.9 MB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.06759, allocations: 1.799 MB / 427.7 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.06787, allocations: 317.3 kB / 428 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.06818, allocations: 185.3 kB / 428.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.06833, allocations: 64.47 kB / 428.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.06833, allocations: 0 / 428.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01455/0.08289, allocations: 12.88 MB / 441.1 MB, free: 1.961 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.7752681230194867]