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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1811/0.1811, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3192, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006751/0.3259, allocations: 7.576 MB / 0.538 GB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006653/0.3326, allocations: 4.505 MB / 0.5424 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/0.333, allocations: 19.69 kB / 0.5424 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.3358, allocations: 1.065 MB / 0.5434 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.3393, allocations: 1.278 MB / 0.5447 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3404, allocations: 345.2 kB / 0.545 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.3423, allocations: 1.405 MB / 0.5464 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008941/0.3432, allocations: 0.5142 MB / 0.5469 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.3442, allocations: 0.6512 MB / 0.5475 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3453, allocations: 0.8046 MB / 0.5483 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3454, allocations: 79.22 kB / 0.5484 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.3488, allocations: 1.596 MB / 0.5499 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.3495, allocations: 0.6174 MB / 0.5505 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006476/0.3502, allocations: 0.5538 MB / 0.5511 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.353, allocations: 1.895 MB / 0.5529 GB, free: 5.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.353, allocations: 3.984 kB / 0.5529 GB, free: 5.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.353, allocations: 4 kB / 0.5529 GB, free: 5.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3531, allocations: 0 / 0.5529 GB, free: 5.68 MB / 398.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.002325/0.3554, allocations: 1.355 MB / 0.5543 GB, free: 4.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3554, allocations: 15.89 kB / 0.5543 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.3593, allocations: 0.5386 MB / 0.5548 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.3603, allocations: 0.5718 MB / 0.5554 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.3603, allocations: 66.38 kB / 0.5554 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.3605, allocations: 96.25 kB / 0.5555 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.363, allocations: 1.512 MB / 0.557 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.363, allocations: 7.984 kB / 0.557 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.3631, allocations: 35.98 kB / 0.557 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.3633, allocations: 94.02 kB / 0.5571 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.3657, allocations: 1.55 MB / 0.5586 GB, free: 15.7 MB / 414.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.008067/0.3738, allocations: 4.893 MB / 0.5634 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.3757, allocations: 1.09 MB / 0.5645 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.3769, allocations: 0.6826 MB / 0.5652 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/0.3769, allocations: 25.05 kB / 0.5652 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/0.377, allocations: 47.5 kB / 0.5652 GB, free: 8.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.526e-06/0.377, allocations: 4 kB / 0.5652 GB, free: 8.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008287/0.3853, allocations: 3.683 MB / 0.5688 GB, free: 4.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.3854, allocations: 102.1 kB / 0.5689 GB, free: 4.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.386, allocations: 469.8 kB / 0.5694 GB, free: 4.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.386, allocations: 41.7 kB / 0.5694 GB, free: 4.348 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.3863, allocations: 436.7 kB / 0.5698 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.3867, allocations: 388.6 kB / 0.5702 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.387, allocations: 198.9 kB / 0.5704 GB, free: 3.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3872, allocations: 382.8 kB / 0.5708 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000857/0.3881, allocations: 0.5374 MB / 0.5713 GB, free: 2.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.3891, allocations: 0.7539 MB / 0.572 GB, free: 1.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.3912, allocations: 1.4 MB / 0.5734 GB, free: 104 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3912, allocations: 3.938 kB / 0.5734 GB, free: 100 kB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003185/0.3943, allocations: 1.79 MB / 0.5751 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3944, allocations: 8.5 kB / 0.5751 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3944, allocations: 8 kB / 0.5751 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.3955, allocations: 410.2 kB / 0.5755 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.3964, allocations: 235.6 kB / 0.5758 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.4046, allocations: 6.074 MB / 0.5817 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4057, allocations: 63.94 kB / 0.5818 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4058, allocations: 47.98 kB / 0.5818 GB, free: 7.156 MB / 430.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.0007693/0.4066, allocations: 373.4 kB / 0.5822 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4068, allocations: 75.53 kB / 0.5822 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.4102, allocations: 1.787 MB / 0.584 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4102, allocations: 12 kB / 0.584 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.4102, allocations: 7.938 kB / 0.584 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.4103, allocations: 15.91 kB / 0.584 GB, free: 4.871 MB / 430.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.006281/0.4165, allocations: 3.449 MB / 0.5874 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4165, allocations: 4 kB / 0.5874 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.4173, allocations: 187.7 kB / 0.5876 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.4185, allocations: 357.8 kB / 0.5879 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/0.4186, allocations: 35.92 kB / 0.5879 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007488/0.426, allocations: 5.783 MB / 0.5936 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.426, allocations: 7.938 kB / 0.5936 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.4293, allocations: 1.818 MB / 0.5954 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.4297, allocations: 164.5 kB / 0.5955 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.4299, allocations: 27.98 kB / 0.5956 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.4305, allocations: 51.95 kB / 0.5956 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.4307, allocations: 96.75 kB / 0.5957 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.4308, allocations: 32 kB / 0.5957 GB, free: 8.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.4312, allocations: 327.1 kB / 0.596 GB, free: 8.035 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4312, allocations: 0 / 0.596 GB, free: 8.035 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001352/0.4325, allocations: 392 kB / 0.5964 GB, free: 7.652 MB / 446.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.0002364/0.4328, allocations: 146.9 kB / 0.5965 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.4355, allocations: 1.677 MB / 0.5982 GB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4355, allocations: 4.562 kB / 0.5982 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.4371, allocations: 1.022 MB / 0.5992 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.4378, allocations: 122.9 kB / 0.5993 GB, free: 4.629 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.4417, allocations: 2.255 MB / 0.6015 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/0.4427, allocations: 1.174 MB / 0.6027 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005964/0.4433, allocations: 233.4 kB / 0.6029 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.4435, allocations: 63.42 kB / 0.6029 GB, free: 0.793 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4435, allocations: 0 / 0.6029 GB, free: 0.793 MB / 446.1 MB Notification: Performance of Templates: time 0.02372/0.4672, allocations: 13.59 MB / 0.6162 GB, free: 3.215 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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: 5.326183612458408]