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.0008802/0.0008803, allocations: 91.09 kB / 16.65 MB, free: 6.535 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.001111/0.001111, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.186/1.186, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1541/0.1541, allocations: 38.09 MB / 330.8 MB, free: 8.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002798, allocations: 8 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.08394, allocations: 59.17 MB / 459.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.00595/0.08992, allocations: 7.177 MB / 467.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004526/0.09446, allocations: 4.421 MB / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.09473, allocations: 15.94 kB / 471.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.09502, allocations: 131.1 kB / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.09705, allocations: 1.145 MB / 472.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.09771, allocations: 291.3 kB / 473.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.09989, allocations: 2.576 MB / 475.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.1019, allocations: 1.25 MB / 476.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007836/0.1027, allocations: 477.6 kB / 477.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009206/0.1036, allocations: 0.6814 MB / 478 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-05/0.1037, allocations: 32 kB / 478.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.1059, allocations: 1.598 MB / 479.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.1063, allocations: 446.9 kB / 480.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.1067, allocations: 411.7 kB / 480.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1085, allocations: 1.507 MB / 482 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1086, allocations: 0 / 482 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1086, allocations: 0 / 482 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1086, allocations: 0 / 482 MB, free: 0.8125 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.001262/0.1098, allocations: 0.9836 MB / 483 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1099, allocations: 12.03 kB / 483 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.1127, allocations: 383.4 kB / 483.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.1132, allocations: 478.6 kB / 483.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.1133, allocations: 54.36 kB / 483.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1134, allocations: 80.27 kB / 484 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1149, allocations: 1.176 MB / 485.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1149, allocations: 4 kB / 485.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.115, allocations: 27.98 kB / 485.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.827e-05/0.1151, allocations: 73.95 kB / 485.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1167, allocations: 1.249 MB / 486.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.1211, allocations: 3.527 MB / 490 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1226, allocations: 1.073 MB / 491.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.1234, allocations: 0.6567 MB / 491.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.1234, allocations: 12.98 kB / 491.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1235, allocations: 47.56 kB / 491.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 1.903e-06/0.1235, allocations: 0 / 491.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.00577/0.1292, allocations: 3.102 MB / 494.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1293, allocations: 90.23 kB / 495 MB, free: 3.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1296, allocations: 361.7 kB / 495.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.1297, allocations: 41.64 kB / 495.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1299, allocations: 320.1 kB / 495.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.1301, allocations: 315.4 kB / 496 MB, free: 2.473 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.1302, allocations: 73.69 kB / 496.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1303, allocations: 370.8 kB / 496.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.1309, allocations: 465.7 kB / 496.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.1316, allocations: 0.5734 MB / 497.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.133, allocations: 1.109 MB / 498.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.133, allocations: 0 / 498.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002155/0.1351, allocations: 1.485 MB / 0.4884 GB, free: 14.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1352, allocations: 4 kB / 0.4884 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.1352, allocations: 4 kB / 0.4884 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/0.136, allocations: 330.4 kB / 0.4887 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.1367, allocations: 183.7 kB / 0.4889 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/0.1412, allocations: 3.878 MB / 0.4926 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.1416, allocations: 39.95 kB / 0.4927 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.1417, allocations: 43.97 kB / 0.4927 GB, free: 9.695 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003149/0.142, allocations: 302.5 kB / 0.493 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.1421, allocations: 55.34 kB / 0.4931 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.1445, allocations: 1.567 MB / 0.4946 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1445, allocations: 12 kB / 0.4946 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1445, allocations: 8 kB / 0.4946 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1445, allocations: 7.969 kB / 0.4946 GB, free: 7.73 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.004188/0.1487, allocations: 3.032 MB / 0.4976 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.1487, allocations: 4 kB / 0.4976 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.1493, allocations: 167.7 kB / 0.4977 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007201/0.15, allocations: 292.9 kB / 0.498 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.1501, allocations: 23.98 kB / 0.498 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.1542, allocations: 3.603 MB / 0.5016 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1542, allocations: 4 kB / 0.5016 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.172/0.3263, allocations: 1.593 MB / 0.5031 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.3264, allocations: 142.3 kB / 0.5033 GB, free: 55.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.3265, allocations: 27.78 kB / 0.5033 GB, free: 55.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.3269, allocations: 41.94 kB / 0.5033 GB, free: 55.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.3271, allocations: 84.45 kB / 0.5034 GB, free: 55.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/0.3272, allocations: 40.34 kB / 0.5034 GB, free: 55.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3274, allocations: 258.4 kB / 0.5037 GB, free: 55.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3274, allocations: 1.188 kB / 0.5037 GB, free: 55.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008462/0.3283, allocations: 303.8 kB / 0.504 GB, free: 55.07 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001422/0.3284, allocations: 133.1 kB / 0.5041 GB, free: 54.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.3304, allocations: 1.392 MB / 0.5055 GB, free: 54.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3304, allocations: 2.344 kB / 0.5055 GB, free: 54.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3314, allocations: 0.8433 MB / 0.5063 GB, free: 54.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.3322, allocations: 104.2 kB / 0.5064 GB, free: 54.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3346, allocations: 2.169 MB / 0.5085 GB, free: 53.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.3351, allocations: 1.068 MB / 0.5096 GB, free: 52.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004259/0.3355, allocations: 181.8 kB / 0.5097 GB, free: 52.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3357, allocations: 60.89 kB / 0.5098 GB, free: 52.69 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3357, allocations: 0 / 0.5098 GB, free: 52.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01372/0.3495, allocations: 9.329 MB / 0.5189 GB, free: 50.55 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