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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001188/0.001188, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001236/0.001236, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.299/1.299, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.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.03 MB / 329.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 65.09 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.0954, allocations: 58.06 MB / 456.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008428/0.1039, allocations: 7.611 MB / 464.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005704/0.1096, allocations: 4.428 MB / 468.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.1102, allocations: 15.94 kB / 468.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.1127, allocations: 0.985 MB / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.1155, allocations: 1.126 MB / 470.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.1165, allocations: 303.2 kB / 470.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.1184, allocations: 1.399 MB / 472.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1197, allocations: 0.7353 MB / 473.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.1207, allocations: 0.6108 MB / 473.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.1218, allocations: 0.7438 MB / 474.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.122, allocations: 64 kB / 474.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.1244, allocations: 1.34 MB / 475.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.1249, allocations: 474.9 kB / 476.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006045/0.1255, allocations: 449.9 kB / 476.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.1283, allocations: 1.535 MB / 478.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1283, allocations: 0 / 478.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1284, allocations: 0 / 478.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.959e-05/0.1284, allocations: 0 / 478.3 MB, free: 2.434 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.001988/0.1304, allocations: 1.139 MB / 479.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1304, allocations: 11.89 kB / 479.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.1306, allocations: 127.2 kB / 479.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.1336, allocations: 391.3 kB / 479.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.1343, allocations: 478.6 kB / 480.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.1344, allocations: 54.36 kB / 480.4 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.1345, allocations: 68.36 kB / 480.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.1362, allocations: 1.184 MB / 481.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1362, allocations: 3.906 kB / 481.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.1363, allocations: 31.98 kB / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/0.1364, allocations: 73.95 kB / 481.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.1381, allocations: 1.241 MB / 483 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.143, allocations: 3.515 MB / 486.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.1445, allocations: 1.059 MB / 487.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.1453, allocations: 0.6567 MB / 488.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.645e-05/0.1454, allocations: 20.98 kB / 488.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1454, allocations: 47.56 kB / 488.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.777e-06/0.1454, allocations: 96 / 488.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006121/0.1515, allocations: 3.087 MB / 491.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1516, allocations: 86.11 kB / 491.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.152, allocations: 365.5 kB / 491.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.1521, allocations: 45.73 kB / 491.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1522, allocations: 312.2 kB / 492.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.1525, allocations: 311.4 kB / 492.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.1527, allocations: 158.5 kB / 492.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1529, allocations: 374.7 kB / 493 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006369/0.1535, allocations: 465.7 kB / 493.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/0.1542, allocations: 0.5696 MB / 494.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.1556, allocations: 1.109 MB / 495.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1556, allocations: 0 / 495.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0025/0.1581, allocations: 1.481 MB / 496.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.1582, allocations: 8.188 kB / 496.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.1582, allocations: 7.938 kB / 496.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.1593, allocations: 330.2 kB / 497 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.1601, allocations: 187.7 kB / 497.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.1654, allocations: 4.182 MB / 0.4896 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.166, allocations: 47.88 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.1661, allocations: 39.98 kB / 0.4897 GB, free: 10.68 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.0004133/0.1665, allocations: 289.5 kB / 0.49 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.1666, allocations: 59.34 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.1692, allocations: 1.567 MB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.1692, allocations: 8 kB / 0.4916 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1692, allocations: 8 kB / 0.4916 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1692, allocations: 11.92 kB / 0.4916 GB, free: 8.719 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.004708/0.174, allocations: 3.036 MB / 0.4945 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.174, allocations: 4 kB / 0.4945 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.1746, allocations: 163.8 kB / 0.4947 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007887/0.1754, allocations: 296.6 kB / 0.495 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.1755, allocations: 28 kB / 0.495 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004741/0.1802, allocations: 3.902 MB / 0.4988 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1803, allocations: 7.938 kB / 0.4988 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2059/0.3862, allocations: 1.589 MB / 0.5004 GB, free: 55.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.3865, allocations: 150.9 kB / 0.5005 GB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3866, allocations: 20.36 kB / 0.5005 GB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.3871, allocations: 42.11 kB / 0.5006 GB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.3873, allocations: 82.66 kB / 0.5007 GB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.3874, allocations: 41.27 kB / 0.5007 GB, free: 55.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.3877, allocations: 257.5 kB / 0.5009 GB, free: 55.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3877, allocations: 1.969 kB / 0.5009 GB, free: 55.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001041/0.3888, allocations: 306.9 kB / 0.5012 GB, free: 55.5 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.002609/0.3914, allocations: 2.156 MB / 0.5033 GB, free: 54.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.3942, allocations: 1.676 MB / 0.505 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3943, allocations: 0 / 0.505 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.3954, allocations: 0.8445 MB / 0.5058 GB, free: 53.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.3962, allocations: 105.4 kB / 0.5059 GB, free: 53.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.4072, allocations: 7.951 MB / 0.5137 GB, free: 49.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.4079, allocations: 1.071 MB / 0.5147 GB, free: 48.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.4084, allocations: 180.3 kB / 0.5149 GB, free: 48.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.4088, allocations: 258.6 kB / 0.5151 GB, free: 48.72 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4088, allocations: 0 / 0.5151 GB, free: 48.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.4433, allocations: 16.15 MB / 0.5309 GB, free: 40.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.4436, allocations: 235.3 kB / 0.5311 GB, free: 39.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.44, allocations: 0 / 0.5311 GB, free: 39.99 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches