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.001049/0.001049, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001048/0.001048, allocations: 170.4 kB / 24.91 MB, free: 8.73 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2708/0.2708, allocations: 29.42 MB / 291.2 MB, free: 2.492 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.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.343e-06/1.343e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.829e-05, allocations: 3.781 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005201/0.005219, allocations: 6.747 MB / 323.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.008895, allocations: 3.283 MB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.009167, allocations: 19.94 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009084/0.01008, allocations: 0.7001 MB / 327.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.01198, allocations: 1.279 MB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.01259, allocations: 346.8 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.01373, allocations: 1.402 MB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006256/0.01435, allocations: 0.6289 MB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.01518, allocations: 0.8256 MB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.01587, allocations: 0.6934 MB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.01596, allocations: 80 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.01779, allocations: 1.426 MB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.01817, allocations: 0.6665 MB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.01847, allocations: 411.2 kB / 335.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.02015, allocations: 1.655 MB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.02015, allocations: 0 / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02016, allocations: 0 / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.02017, allocations: 0 / 337 MB, free: 11.71 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00123/0.0214, allocations: 1.255 MB / 338.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.02143, allocations: 11.98 kB / 338.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.02346, allocations: 0.6677 MB / 339 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.02395, allocations: 451 kB / 339.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.02399, allocations: 70.36 kB / 339.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.02408, allocations: 92.31 kB / 339.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.02483, allocations: 0.797 MB / 340.4 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.02485, allocations: 192 / 340.4 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.0249, allocations: 36.36 kB / 340.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/0.02525, allocations: 109.9 kB / 340.5 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.02576, allocations: 398.1 kB / 340.9 MB, free: 7.734 MB / 314.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.003161/0.02893, allocations: 3.088 MB / 344 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.02952, allocations: 0.5673 MB / 344.6 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.02978, allocations: 250.5 kB / 344.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.02983, allocations: 32.86 kB / 344.8 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.02985, allocations: 47.56 kB / 344.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 2.365e-06/0.02986, allocations: 0 / 344.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=108): time 0.002609/0.03247, allocations: 1.646 MB / 346.5 MB, free: 1.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.0325, allocations: 90.05 kB / 346.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.03271, allocations: 395 kB / 347 MB, free: 1.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.03276, allocations: 41.7 kB / 347 MB, free: 1.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.0329, allocations: 393.5 kB / 347.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.03334, allocations: 388.6 kB / 347.8 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.03352, allocations: 182.8 kB / 348 MB, free: 440 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.03362, allocations: 386.6 kB / 348.4 MB, free: 44 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.0338, allocations: 134.6 kB / 348.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.03406, allocations: 364.2 kB / 348.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.03458, allocations: 0.5903 MB / 349.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.03458, allocations: 0 / 349.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009372/0.03552, allocations: 0.7997 MB / 350.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.03553, allocations: 8 kB / 350.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.03554, allocations: 4 kB / 350.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.03607, allocations: 269.6 kB / 350.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.03657, allocations: 242.1 kB / 350.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.03948, allocations: 3.844 MB / 354.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.03973, allocations: 31.94 kB / 354.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/0.04008, allocations: 35.98 kB / 354.7 MB, free: 9.371 MB / 330.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.0001779/0.04026, allocations: 176.4 kB / 354.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.04035, allocations: 79.94 kB / 354.9 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009444/0.0413, allocations: 0.8115 MB / 355.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.04131, allocations: 12 kB / 355.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.04131, allocations: 8 kB / 355.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.04132, allocations: 7.969 kB / 355.8 MB, free: 8.25 MB / 330.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.001944/0.04327, allocations: 1.689 MB / 357.4 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.04327, allocations: 8.094 kB / 357.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.04367, allocations: 179.7 kB / 357.6 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.0441, allocations: 261 kB / 357.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.04414, allocations: 24 kB / 357.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.0468, allocations: 3.744 MB / 361.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.0468, allocations: 7.938 kB / 361.7 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.04803, allocations: 1.003 MB / 362.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.0481, allocations: 79.48 kB / 362.7 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.04816, allocations: 28 kB / 362.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.04837, allocations: 24 kB / 362.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.04849, allocations: 96.7 kB / 362.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.04853, allocations: 27.98 kB / 362.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.04865, allocations: 156.7 kB / 363.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04865, allocations: 0 / 363.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006323/0.04928, allocations: 396 kB / 363.5 MB, free: 176 kB / 330.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.0001178/0.0494, allocations: 112.2 kB / 363.6 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009071/0.0503, allocations: 0.9564 MB / 364.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.05032, allocations: 8.5 kB / 364.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.05088, allocations: 0.6888 MB / 365.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.05128, allocations: 132.8 kB / 365.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.05318, allocations: 1.745 MB / 367.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.05338, allocations: 313.3 kB / 367.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.05357, allocations: 77.58 kB / 367.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.05381, allocations: 147.3 kB / 367.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.05381, allocations: 0 / 367.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of Templates: time 0.01464/0.06845, allocations: 13.46 MB / 381.1 MB, free: 14.48 MB / 362.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 -s gbode -gbm=radauIIA3 -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.2405285951681435]