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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001512, allocations: 110.1 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002533/0.002533, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.731/2.731, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3711/0.3711, allocations: 38.04 MB / 330.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 64.38 kB / 398.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1754, allocations: 58.06 MB / 457 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01491/0.1904, allocations: 7.631 MB / 464.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.203, allocations: 4.471 MB / 469.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.2039, allocations: 15.94 kB / 469.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004552/0.2085, allocations: 0.9905 MB / 470.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.2143, allocations: 1.204 MB / 471.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.2163, allocations: 311.2 kB / 471.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.2189, allocations: 1.406 MB / 473 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.2211, allocations: 0.8867 MB / 473.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.223, allocations: 0.6343 MB / 474.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.2249, allocations: 0.8256 MB / 475.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.2251, allocations: 76 kB / 475.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.2303, allocations: 1.532 MB / 477 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.2316, allocations: 0.6002 MB / 477.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.2327, allocations: 0.5598 MB / 478.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003772/0.2365, allocations: 1.431 MB / 479.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.2366, allocations: 8 kB / 479.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2366, allocations: 0 / 479.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.901e-05/0.2367, allocations: 0 / 479.6 MB, free: 1.754 MB / 350.1 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.003577/0.2402, allocations: 1.342 MB / 480.9 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.2403, allocations: 11.89 kB / 480.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007779/0.2481, allocations: 0.538 MB / 481.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2501, allocations: 0.552 MB / 482 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.2502, allocations: 66.36 kB / 482.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.2506, allocations: 92.27 kB / 482.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004576/0.2552, allocations: 1.505 MB / 483.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.2553, allocations: 3.984 kB / 483.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.2555, allocations: 39.98 kB / 483.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.2557, allocations: 94.02 kB / 483.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/0.2608, allocations: 1.55 MB / 485.4 MB, free: 11.82 MB / 366.1 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.01527/0.2761, allocations: 4.911 MB / 490.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/0.2796, allocations: 1.189 MB / 491.5 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.2817, allocations: 0.7702 MB / 492.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.2818, allocations: 20.98 kB / 492.3 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.2819, allocations: 43.56 kB / 492.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 5.962e-06/0.2819, allocations: 0 / 492.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.01458/0.2965, allocations: 3.677 MB / 496 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.2966, allocations: 94.09 kB / 496.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/0.2976, allocations: 469.8 kB / 496.5 MB, free: 348 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.2978, allocations: 41.7 kB / 496.6 MB, free: 300 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.2983, allocations: 423.4 kB / 497 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/0.2989, allocations: 374.6 kB / 497.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/0.2995, allocations: 210.8 kB / 497.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.2998, allocations: 378.8 kB / 497.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.3012, allocations: 0.5335 MB / 498.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.3029, allocations: 0.7539 MB / 499.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.3065, allocations: 1.404 MB / 0.4889 GB, free: 12.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.3065, allocations: 7.938 kB / 0.4889 GB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005572/0.3121, allocations: 1.802 MB / 0.4906 GB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.3122, allocations: 8 kB / 0.4907 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3122, allocations: 4 kB / 0.4907 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.3138, allocations: 409.8 kB / 0.491 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.3153, allocations: 231.6 kB / 0.4913 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.3278, allocations: 6.072 MB / 0.4972 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.3294, allocations: 63.94 kB / 0.4973 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.3297, allocations: 51.92 kB / 0.4973 GB, free: 3.094 MB / 382.1 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.001069/0.3308, allocations: 373.4 kB / 0.4977 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.3311, allocations: 71.16 kB / 0.4977 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/0.3371, allocations: 1.806 MB / 0.4995 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.3372, allocations: 15.94 kB / 0.4995 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/0.3372, allocations: 11.94 kB / 0.4995 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-05/0.3373, allocations: 7.969 kB / 0.4995 GB, free: 0.7969 MB / 382.1 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.4002/0.7375, allocations: 3.45 MB / 0.5029 GB, free: 55.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.7375, allocations: 5.797 kB / 0.5029 GB, free: 55.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.7391, allocations: 192.7 kB / 0.5031 GB, free: 55.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.741, allocations: 353.4 kB / 0.5034 GB, free: 55.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.7412, allocations: 30.44 kB / 0.5035 GB, free: 55.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/0.7572, allocations: 5.785 MB / 0.5091 GB, free: 51.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.7573, allocations: 8.312 kB / 0.5091 GB, free: 51.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.763, allocations: 1.823 MB / 0.5109 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.7636, allocations: 159.5 kB / 0.511 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.7639, allocations: 30.06 kB / 0.5111 GB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.765, allocations: 51.28 kB / 0.5111 GB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.7654, allocations: 96.64 kB / 0.5112 GB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.7656, allocations: 36.39 kB / 0.5112 GB, free: 50.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007792/0.7664, allocations: 324.5 kB / 0.5116 GB, free: 50.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7664, allocations: 0.75 kB / 0.5116 GB, free: 50.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002702/0.7691, allocations: 396.9 kB / 0.5119 GB, free: 49.98 MB / 382.1 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.0004175/0.7696, allocations: 131 kB / 0.5121 GB, free: 49.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01167/0.7813, allocations: 2.134 MB / 0.5141 GB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.7813, allocations: 1.094 kB / 0.5141 GB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003592/0.785, allocations: 1.079 MB / 0.5152 GB, free: 48.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.7871, allocations: 122 kB / 0.5153 GB, free: 48.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.7949, allocations: 2.769 MB / 0.518 GB, free: 47.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.7965, allocations: 1.173 MB / 0.5192 GB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/0.7973, allocations: 75.16 kB / 0.5192 GB, free: 46.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.843e-06/0.7973, allocations: 0 / 0.5192 GB, free: 46.24 MB / 382.1 MB Notification: Performance of Templates: time 0.05013/0.8474, allocations: 18.09 MB / 0.5369 GB, free: 33.81 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches