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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 92.58 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.0008565/0.0008565, allocations: 175.6 kB / 17.56 MB, free: 6.18 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.262/1.262, allocations: 223.2 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1606/0.1606, allocations: 38.09 MB / 330.8 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 8 kB / 400.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.0815, allocations: 59.17 MB / 460 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006479/0.08801, allocations: 7.181 MB / 467.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00537/0.0934, allocations: 4.483 MB / 471.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.09401, allocations: 15.94 kB / 471.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.09448, allocations: 131.1 kB / 471.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.09712, allocations: 1.219 MB / 473 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.09788, allocations: 299.3 kB / 473.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.1002, allocations: 2.58 MB / 475.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.1023, allocations: 1.407 MB / 477.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.1032, allocations: 485.6 kB / 477.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.1042, allocations: 0.7477 MB / 478.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1043, allocations: 40 kB / 478.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.1068, allocations: 1.777 MB / 480.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005413/0.1074, allocations: 0.565 MB / 480.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.1081, allocations: 0.5225 MB / 481.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.1113, allocations: 1.916 MB / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1113, allocations: 0 / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1113, allocations: 0 / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.633e-05/0.1114, allocations: 0 / 483.3 MB, free: 15.53 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.00192/0.1133, allocations: 1.163 MB / 484.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1133, allocations: 8.031 kB / 484.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/0.1136, allocations: 160.8 kB / 484.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/0.1175, allocations: 0.5497 MB / 485.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008348/0.1183, allocations: 0.548 MB / 485.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.1184, allocations: 70.36 kB / 485.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.1186, allocations: 84.36 kB / 485.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.1208, allocations: 1.512 MB / 487.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.1208, allocations: 4 kB / 487.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.121, allocations: 35.98 kB / 487.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.1211, allocations: 105.9 kB / 487.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.1234, allocations: 1.546 MB / 489.1 MB, free: 9.602 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.00699/0.1304, allocations: 4.946 MB / 494.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.132, allocations: 1.185 MB / 495.2 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009484/0.133, allocations: 0.7702 MB / 496 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/0.1331, allocations: 21.05 kB / 496 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1331, allocations: 43.56 kB / 496.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.324e-06/0.1331, allocations: 0 / 496.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.00733/0.1405, allocations: 3.704 MB / 499.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1405, allocations: 90.11 kB / 499.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.141, allocations: 469.8 kB / 0.4886 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/0.1411, allocations: 45.7 kB / 0.4886 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.1413, allocations: 427.4 kB / 0.489 GB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.1416, allocations: 370.6 kB / 0.4894 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1418, allocations: 89.67 kB / 0.4895 GB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1419, allocations: 378.8 kB / 0.4898 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.1427, allocations: 0.5413 MB / 0.4904 GB, free: 12.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.1436, allocations: 0.75 MB / 0.4911 GB, free: 11.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.1454, allocations: 1.408 MB / 0.4925 GB, free: 9.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1454, allocations: 0 / 0.4925 GB, free: 9.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002842/0.1483, allocations: 1.798 MB / 0.4942 GB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1483, allocations: 12.03 kB / 0.4943 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1483, allocations: 19.88 kB / 0.4943 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.1494, allocations: 405.4 kB / 0.4947 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.1503, allocations: 235.6 kB / 0.4949 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.1565, allocations: 5.62 MB / 0.5004 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.1572, allocations: 63.94 kB / 0.5004 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.1572, allocations: 47.98 kB / 0.5005 GB, free: 1.383 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.0004681/0.1577, allocations: 357.5 kB / 0.5008 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1579, allocations: 71.16 kB / 0.5009 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1671/0.325, allocations: 1.813 MB / 0.5027 GB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.325, allocations: 13.66 kB / 0.5027 GB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.325, allocations: 6.297 kB / 0.5027 GB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.325, allocations: 11.03 kB / 0.5027 GB, free: 54.52 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.005174/0.3302, allocations: 3.465 MB / 0.5061 GB, free: 53.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3302, allocations: 3.188 kB / 0.5061 GB, free: 53.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.3309, allocations: 192.6 kB / 0.5063 GB, free: 53.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/0.3318, allocations: 349.8 kB / 0.5066 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.3318, allocations: 27.5 kB / 0.5066 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.3367, allocations: 5.35 MB / 0.5118 GB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3367, allocations: 7.938 kB / 0.5118 GB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.3392, allocations: 1.829 MB / 0.5136 GB, free: 49.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3394, allocations: 156.8 kB / 0.5138 GB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.3395, allocations: 29.28 kB / 0.5138 GB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.3399, allocations: 50.83 kB / 0.5139 GB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.3401, allocations: 97.2 kB / 0.514 GB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.3402, allocations: 37.33 kB / 0.514 GB, free: 49.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.3406, allocations: 328.1 kB / 0.5143 GB, free: 49.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3406, allocations: 0.6562 kB / 0.5143 GB, free: 49.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00104/0.3417, allocations: 394.4 kB / 0.5147 GB, free: 49.2 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.002614/0.3443, allocations: 2.4 MB / 0.517 GB, free: 47.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.3465, allocations: 1.748 MB / 0.5187 GB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3465, allocations: 0 / 0.5187 GB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3477, allocations: 1.077 MB / 0.5198 GB, free: 46.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.3485, allocations: 126.1 kB / 0.5199 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/0.358, allocations: 9.727 MB / 0.5294 GB, free: 41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3586, allocations: 1.166 MB / 0.5305 GB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004686/0.359, allocations: 238.8 kB / 0.5308 GB, free: 40 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.3594, allocations: 343.1 kB / 0.5311 GB, free: 39.71 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3594, allocations: 0 / 0.5311 GB, free: 39.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4977/0.8571, allocations: 18.92 MB / 0.5496 GB, free: 21.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.8573, allocations: 234.6 kB / 0.5498 GB, free: 20.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.792, allocations: 0 / 0.5498 GB, free: 20.86 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) 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","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches