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.001737/0.001737, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002128/0.002128, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.511/1.511, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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.1889/0.1889, allocations: 38.55 MB / 353.2 MB, free: 12.34 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 67.89 kB / 493.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3099, allocations: 62.45 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009197/0.3191, allocations: 7.042 MB / 0.5501 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006665/0.3258, allocations: 4.156 MB / 0.5541 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000612/0.3264, allocations: 20.5 kB / 0.5541 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.3292, allocations: 1.026 MB / 0.5551 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.3328, allocations: 1.289 MB / 0.5564 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3339, allocations: 353.9 kB / 0.5567 GB, free: 6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.3359, allocations: 1.398 MB / 0.5581 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009626/0.3368, allocations: 0.5783 MB / 0.5587 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.338, allocations: 0.6615 MB / 0.5593 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3391, allocations: 0.767 MB / 0.5601 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3392, allocations: 80 kB / 0.5601 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.3421, allocations: 1.403 MB / 0.5615 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000631/0.3427, allocations: 0.6195 MB / 0.5621 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005661/0.3433, allocations: 470 kB / 0.5626 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.3464, allocations: 1.912 MB / 0.5644 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3464, allocations: 0 / 0.5644 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3464, allocations: 4 kB / 0.5644 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.3464, allocations: 0 / 0.5644 GB, free: 14.57 MB / 414.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.002107/0.3485, allocations: 1.284 MB / 0.5657 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3486, allocations: 11.98 kB / 0.5657 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.3525, allocations: 0.5463 MB / 0.5662 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.3537, allocations: 0.5114 MB / 0.5667 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.3538, allocations: 66.36 kB / 0.5668 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.354, allocations: 88.36 kB / 0.5669 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.3565, allocations: 1.509 MB / 0.5683 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.3565, allocations: 4 kB / 0.5683 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.3566, allocations: 35.98 kB / 0.5684 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.3567, allocations: 98 kB / 0.5685 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.3592, allocations: 1.542 MB / 0.57 GB, free: 8.773 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.007841/0.3671, allocations: 4.21 MB / 0.5741 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3689, allocations: 1.083 MB / 0.5752 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3699, allocations: 0.6952 MB / 0.5758 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.37, allocations: 20.97 kB / 0.5759 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.37, allocations: 43.56 kB / 0.5759 GB, free: 2.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.366e-06/0.37, allocations: 4 kB / 0.5759 GB, free: 2.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.007852/0.3779, allocations: 3.52 MB / 0.5793 GB, free: 15.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.378, allocations: 94.03 kB / 0.5794 GB, free: 14.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.3785, allocations: 473.7 kB / 0.5799 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.3786, allocations: 41.7 kB / 0.5799 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.3789, allocations: 448.5 kB / 0.5803 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.3793, allocations: 388.7 kB / 0.5807 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.3797, allocations: 198.9 kB / 0.5809 GB, free: 13.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3799, allocations: 386.8 kB / 0.5813 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008699/0.3808, allocations: 0.5335 MB / 0.5818 GB, free: 12.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3818, allocations: 0.7578 MB / 0.5825 GB, free: 11.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.3839, allocations: 1.396 MB / 0.5839 GB, free: 10.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3839, allocations: 0 / 0.5839 GB, free: 10.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003362/0.3873, allocations: 1.798 MB / 0.5857 GB, free: 8.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3873, allocations: 8 kB / 0.5857 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.3873, allocations: 4 kB / 0.5857 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3885, allocations: 413.8 kB / 0.5861 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/0.3894, allocations: 235.6 kB / 0.5863 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008023/0.3974, allocations: 5.605 MB / 0.5918 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/0.3983, allocations: 63.94 kB / 0.5918 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/0.3984, allocations: 52.05 kB / 0.5919 GB, free: 1.746 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.0006642/0.3991, allocations: 357.4 kB / 0.5922 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3992, allocations: 79.47 kB / 0.5923 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.4026, allocations: 1.795 MB / 0.594 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.4026, allocations: 12 kB / 0.594 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4026, allocations: 8 kB / 0.5941 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4026, allocations: 7.984 kB / 0.5941 GB, free: 15.47 MB / 446.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.006383/0.409, allocations: 3.08 MB / 0.5971 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.409, allocations: 4 kB / 0.5971 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.4098, allocations: 191.7 kB / 0.5973 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009637/0.4107, allocations: 353.6 kB / 0.5976 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.4108, allocations: 20 kB / 0.5976 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00759/0.4184, allocations: 5.404 MB / 0.6029 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/0.4184, allocations: 7.938 kB / 0.6029 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.4218, allocations: 1.814 MB / 0.6047 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.4221, allocations: 83.47 kB / 0.6047 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4222, allocations: 28 kB / 0.6048 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.4227, allocations: 51.94 kB / 0.6048 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.4229, allocations: 100.7 kB / 0.6049 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.423, allocations: 35.94 kB / 0.605 GB, free: 3.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004074/0.4234, allocations: 323.1 kB / 0.6053 GB, free: 3.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4234, allocations: 0 / 0.6053 GB, free: 3.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4246, allocations: 392 kB / 0.6056 GB, free: 3.246 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.0002085/0.4248, allocations: 140.7 kB / 0.6058 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.4277, allocations: 1.673 MB / 0.6074 GB, free: 1.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4277, allocations: 0 / 0.6074 GB, free: 1.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.4294, allocations: 1.03 MB / 0.6084 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.4302, allocations: 126.2 kB / 0.6085 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.4342, allocations: 2.344 MB / 0.6108 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.435, allocations: 0.5755 MB / 0.6114 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.4353, allocations: 75.41 kB / 0.6115 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4353, allocations: 0 / 0.6115 GB, free: 13.12 MB / 462.1 MB Notification: Performance of Templates: time 0.02778/0.4631, allocations: 18.92 MB / 0.6299 GB, free: 10.14 MB / 478.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.522055373992771]