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.0008716/0.0008716, allocations: 96.67 kB / 16.65 MB, free: 6.191 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.001084/0.001084, allocations: 181.8 kB / 17.57 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1559/0.1559, allocations: 38.1 MB / 330.8 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 8 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08494, allocations: 59.17 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006379/0.09136, allocations: 7.181 MB / 467.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.09602, allocations: 4.483 MB / 471.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.09623, allocations: 15.94 kB / 471.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.09651, allocations: 127.1 kB / 471.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.09848, allocations: 1.215 MB / 472.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.09906, allocations: 303.3 kB / 473.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.1009, allocations: 2.588 MB / 475.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.1028, allocations: 1.402 MB / 477.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.1034, allocations: 485.7 kB / 477.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.1041, allocations: 0.7515 MB / 478.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.1042, allocations: 40 kB / 478.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.1063, allocations: 1.781 MB / 480.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.1067, allocations: 0.5572 MB / 480.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.1071, allocations: 0.5264 MB / 481.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.1088, allocations: 1.92 MB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1088, allocations: 0 / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1088, allocations: 0 / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1089, allocations: 0 / 483.2 MB, free: 15.61 MB / 366.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.001439/0.1103, allocations: 1.163 MB / 484.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1103, allocations: 8.031 kB / 484.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.1138, allocations: 0.5458 MB / 485 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.1145, allocations: 0.5558 MB / 485.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.1145, allocations: 66.36 kB / 485.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.1147, allocations: 92.36 kB / 485.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.1166, allocations: 1.497 MB / 487.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1166, allocations: 11.94 kB / 487.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.1167, allocations: 39.97 kB / 487.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.677e-05/0.1168, allocations: 98 kB / 487.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.1189, allocations: 1.55 MB / 488.9 MB, free: 9.848 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.006344/0.1252, allocations: 4.939 MB / 493.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.1268, allocations: 1.181 MB / 495 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/0.1277, allocations: 0.7663 MB / 495.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/0.1278, allocations: 17.36 kB / 495.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1278, allocations: 55.5 kB / 495.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.284e-06/0.1278, allocations: 0 / 495.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.006665/0.1345, allocations: 3.701 MB / 499.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.1346, allocations: 98.08 kB / 499.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.135, allocations: 473.7 kB / 0.4884 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.1351, allocations: 41.7 kB / 0.4884 GB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.1353, allocations: 431.4 kB / 0.4888 GB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.1356, allocations: 370.6 kB / 0.4892 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1357, allocations: 85.67 kB / 0.4892 GB, free: 13.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1358, allocations: 386.8 kB / 0.4896 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007123/0.1365, allocations: 0.5374 MB / 0.4901 GB, free: 12.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.1374, allocations: 0.7501 MB / 0.4909 GB, free: 11.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.1391, allocations: 1.4 MB / 0.4922 GB, free: 10.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1391, allocations: 3.938 kB / 0.4922 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002709/0.1418, allocations: 1.805 MB / 0.494 GB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1419, allocations: 8 kB / 0.494 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1419, allocations: 4.5 kB / 0.494 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009801/0.1429, allocations: 405.4 kB / 0.4944 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.1437, allocations: 243.6 kB / 0.4946 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.1496, allocations: 5.627 MB / 0.5001 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.1502, allocations: 67.92 kB / 0.5002 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.1503, allocations: 40 kB / 0.5002 GB, free: 1.637 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.0004411/0.1507, allocations: 365.5 kB / 0.5006 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1509, allocations: 71.16 kB / 0.5007 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1733/0.3242, allocations: 1.809 MB / 0.5024 GB, free: 54.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3243, allocations: 12.34 kB / 0.5024 GB, free: 54.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3243, allocations: 7.094 kB / 0.5024 GB, free: 54.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.3243, allocations: 11.12 kB / 0.5024 GB, free: 54.85 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.005509/0.3298, allocations: 3.464 MB / 0.5058 GB, free: 54.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3298, allocations: 3.219 kB / 0.5058 GB, free: 54.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.3305, allocations: 194.5 kB / 0.506 GB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008855/0.3314, allocations: 353.4 kB / 0.5064 GB, free: 54.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.3315, allocations: 24.7 kB / 0.5064 GB, free: 54.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.3367, allocations: 5.351 MB / 0.5116 GB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.3368, allocations: 9.031 kB / 0.5116 GB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.3394, allocations: 1.822 MB / 0.5134 GB, free: 49.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.3397, allocations: 156 kB / 0.5135 GB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3398, allocations: 26.64 kB / 0.5136 GB, free: 49.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.3403, allocations: 51.33 kB / 0.5136 GB, free: 49.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.3405, allocations: 95.59 kB / 0.5137 GB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.3406, allocations: 37.8 kB / 0.5137 GB, free: 49.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004021/0.341, allocations: 325 kB / 0.5141 GB, free: 49.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.341, allocations: 3.969 kB / 0.5141 GB, free: 49.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00117/0.3422, allocations: 397.2 kB / 0.5144 GB, free: 49.32 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.0001526/0.3423, allocations: 133.1 kB / 0.5146 GB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.3447, allocations: 1.745 MB / 0.5163 GB, free: 48.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3447, allocations: 1.062 kB / 0.5163 GB, free: 48.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.3461, allocations: 1.079 MB / 0.5173 GB, free: 47.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.347, allocations: 129.6 kB / 0.5174 GB, free: 47.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.3502, allocations: 2.679 MB / 0.5201 GB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.3508, allocations: 1.18 MB / 0.5212 GB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000493/0.3513, allocations: 239.2 kB / 0.5214 GB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.3515, allocations: 62.41 kB / 0.5215 GB, free: 45.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3515, allocations: 0 / 0.5215 GB, free: 45.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01534/0.3669, allocations: 11.49 MB / 0.5327 GB, free: 38.66 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches