Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008005/0.0008005, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.0009559/0.000956, allocations: 179.1 kB / 17.21 MB, free: 6.32 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.222/1.222, allocations: 223.3 MB / 241.2 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.09 MB / 330.4 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002795, allocations: 8.719 kB / 400.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08631, allocations: 59.17 MB / 459.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006235/0.09257, allocations: 6.757 MB / 466 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.09734, allocations: 4.12 MB / 470.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.09782, allocations: 15.94 kB / 470.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.09825, allocations: 139 kB / 470.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.1004, allocations: 0.8833 MB / 471.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1011, allocations: 231.4 kB / 471.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.1029, allocations: 1.905 MB / 473.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.1048, allocations: 1.181 MB / 474.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.1057, allocations: 493.7 kB / 474.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009515/0.1067, allocations: 0.662 MB / 475.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1068, allocations: 32 kB / 475.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.1084, allocations: 0.7363 MB / 476.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00049/0.1089, allocations: 450.9 kB / 476.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.1092, allocations: 181.3 kB / 477 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.1105, allocations: 1.029 MB / 478 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1106, allocations: 0 / 478 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1106, allocations: 0 / 478 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.1106, allocations: 0 / 478 MB, free: 4.555 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001454/0.1121, allocations: 0.9952 MB / 479 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1121, allocations: 8.031 kB / 479 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/0.1149, allocations: 386.5 kB / 479.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.1157, allocations: 477.4 kB / 479.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.1157, allocations: 49.98 kB / 479.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1159, allocations: 72 kB / 480 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.1175, allocations: 1.172 MB / 481.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1176, allocations: 0 / 481.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.1176, allocations: 31.98 kB / 481.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.1177, allocations: 69.95 kB / 481.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.1195, allocations: 1.241 MB / 482.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.1241, allocations: 3.523 MB / 486 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1256, allocations: 1.077 MB / 487.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/0.1264, allocations: 0.6488 MB / 487.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.095e-05/0.1265, allocations: 16.98 kB / 487.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1265, allocations: 47.55 kB / 487.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.194e-06/0.1265, allocations: 0 / 487.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.005679/0.1322, allocations: 3.048 MB / 490.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1323, allocations: 90.11 kB / 490.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.1326, allocations: 353.7 kB / 491.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.1327, allocations: 45.64 kB / 491.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1329, allocations: 328.1 kB / 491.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.1331, allocations: 311.4 kB / 492 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1332, allocations: 20 kB / 492 MB, free: 6.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1333, allocations: 366.7 kB / 492.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.1339, allocations: 465.7 kB / 492.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.1347, allocations: 0.5657 MB / 493.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.1356, allocations: 0.5417 MB / 493.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1356, allocations: 4 kB / 493.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002331/0.1379, allocations: 1.465 MB / 495.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.138, allocations: 8 kB / 495.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.138, allocations: 0 / 495.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/0.1388, allocations: 334.4 kB / 495.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.1394, allocations: 179.7 kB / 495.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.144, allocations: 3.874 MB / 499.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.1445, allocations: 43.95 kB / 499.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.1445, allocations: 35.98 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003626/0.1449, allocations: 302.5 kB / 0.4884 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.145, allocations: 59.25 kB / 0.4885 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.1474, allocations: 1.555 MB / 0.49 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.1475, allocations: 12 kB / 0.49 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1475, allocations: 4 kB / 0.49 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1475, allocations: 3.984 kB / 0.49 GB, free: 12.25 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.00442/0.1519, allocations: 3.04 MB / 0.493 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.1519, allocations: 4 kB / 0.493 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.1525, allocations: 159.8 kB / 0.4931 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007061/0.1532, allocations: 292.9 kB / 0.4934 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.1533, allocations: 27.98 kB / 0.4934 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/0.1576, allocations: 3.599 MB / 0.4969 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1576, allocations: 7.938 kB / 0.497 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.1598, allocations: 1.589 MB / 0.4985 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.1599, allocations: 140.3 kB / 0.4986 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.16, allocations: 23.98 kB / 0.4987 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.1604, allocations: 43.97 kB / 0.4987 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.1605, allocations: 80.78 kB / 0.4988 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.1606, allocations: 35.98 kB / 0.4988 GB, free: 2.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002773/0.1609, allocations: 259.2 kB / 0.4991 GB, free: 2.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1609, allocations: 0 / 0.4991 GB, free: 2.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.162, allocations: 304 kB / 0.4994 GB, free: 2.309 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.1622, allocations: 130.5 kB / 0.4995 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.1645, allocations: 1.389 MB / 0.5008 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1645, allocations: 3.938 kB / 0.5008 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1685/0.333, allocations: 0.8337 MB / 0.5017 GB, free: 55.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.334, allocations: 107.2 kB / 0.5018 GB, free: 55.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.3369, allocations: 2.086 MB / 0.5038 GB, free: 54.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.3375, allocations: 1.069 MB / 0.5048 GB, free: 54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.3379, allocations: 180.7 kB / 0.505 GB, free: 54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3381, allocations: 62.73 kB / 0.5051 GB, free: 54 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3381, allocations: 0 / 0.5051 GB, free: 54 MB / 382.1 MB Notification: Performance of Templates: time 0.01479/0.3529, allocations: 9.069 MB / 0.5139 GB, free: 52.46 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches