Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001487/0.001487, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001647/0.001647, allocations: 198.9 kB / 18 MB, free: 5.078 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1854/0.1854, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 457.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.351, allocations: 58.06 MB / 0.5036 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007244/0.3583, allocations: 7.688 MB / 0.5111 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.3649, allocations: 4.734 MB / 0.5157 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007011/0.3657, allocations: 14.59 kB / 0.5158 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003599/0.3693, allocations: 1.082 MB / 0.5168 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.3734, allocations: 1.263 MB / 0.518 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.3748, allocations: 371.6 kB / 0.5184 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.3775, allocations: 1.463 MB / 0.5198 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.3786, allocations: 0.6654 MB / 0.5205 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.38, allocations: 0.6431 MB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.3812, allocations: 0.7077 MB / 0.5218 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.3813, allocations: 66.5 kB / 0.5219 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.385, allocations: 1.424 MB / 0.5233 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008635/0.3858, allocations: 0.4918 MB / 0.5237 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006685/0.3865, allocations: 456.5 kB / 0.5242 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.3902, allocations: 1.538 MB / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3902, allocations: 0 / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3902, allocations: 1.188 kB / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3902, allocations: 4.797 kB / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002375/0.3926, allocations: 1.159 MB / 0.5268 GB, free: 9.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.3927, allocations: 13.2 kB / 0.5268 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.3929, allocations: 132 kB / 0.5269 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.3963, allocations: 416.6 kB / 0.5273 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3974, allocations: 0.4894 MB / 0.5278 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.3974, allocations: 59.61 kB / 0.5279 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3976, allocations: 73.55 kB / 0.5279 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.3998, allocations: 1.235 MB / 0.5292 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.3998, allocations: 2.141 kB / 0.5292 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/0.3999, allocations: 30.7 kB / 0.5292 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.4001, allocations: 78.7 kB / 0.5293 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.402, allocations: 1.312 MB / 0.5305 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/0.4081, allocations: 3.677 MB / 0.5341 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.41, allocations: 1.091 MB / 0.5352 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009206/0.4109, allocations: 0.6417 MB / 0.5358 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.411, allocations: 19.64 kB / 0.5358 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4111, allocations: 47.3 kB / 0.5359 GB, free: 4.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.587e-06/0.4111, allocations: 0 / 0.5359 GB, free: 4.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.00704/0.4181, allocations: 3.151 MB / 0.539 GB, free: 2.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4182, allocations: 87.73 kB / 0.5391 GB, free: 2.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.4187, allocations: 381.9 kB / 0.5394 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.4187, allocations: 40.45 kB / 0.5395 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.4189, allocations: 317.2 kB / 0.5398 GB, free: 2.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.4193, allocations: 323.1 kB / 0.5401 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.4195, allocations: 161.4 kB / 0.5402 GB, free: 1.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4197, allocations: 370.5 kB / 0.5406 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.4204, allocations: 469.5 kB / 0.541 GB, free: 1.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/0.4212, allocations: 0.571 MB / 0.5416 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.4229, allocations: 1.116 MB / 0.5427 GB, free: 112 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4229, allocations: 9.219 kB / 0.5427 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0026/0.4255, allocations: 1.486 MB / 0.5441 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4255, allocations: 4 kB / 0.5441 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4255, allocations: 4 kB / 0.5441 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/0.4265, allocations: 336.8 kB / 0.5445 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.4272, allocations: 191.7 kB / 0.5446 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/0.4327, allocations: 4.163 MB / 0.5487 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.4333, allocations: 43.95 kB / 0.5487 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.953e-05/0.4334, allocations: 47.97 kB / 0.5488 GB, free: 9.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0005298/0.434, allocations: 293.6 kB / 0.5491 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4341, allocations: 59.33 kB / 0.5491 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.4368, allocations: 1.559 MB / 0.5506 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4369, allocations: 11.98 kB / 0.5507 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4369, allocations: 4 kB / 0.5507 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.4369, allocations: 7.984 kB / 0.5507 GB, free: 7.867 MB / 414.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.005638/0.4425, allocations: 3.004 MB / 0.5536 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.4426, allocations: 4 kB / 0.5536 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/0.4432, allocations: 171.7 kB / 0.5538 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008496/0.4441, allocations: 284.9 kB / 0.554 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.4442, allocations: 27.98 kB / 0.5541 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.4493, allocations: 3.894 MB / 0.5579 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4493, allocations: 4 kB / 0.5579 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.452, allocations: 1.582 MB / 0.5594 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.4523, allocations: 144.3 kB / 0.5596 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.4525, allocations: 24 kB / 0.5596 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.4531, allocations: 43.95 kB / 0.5596 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.4533, allocations: 84.77 kB / 0.5597 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.4534, allocations: 32 kB / 0.5597 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.4537, allocations: 271.1 kB / 0.56 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4537, allocations: 0 / 0.56 GB, free: 13.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001361/0.4551, allocations: 308 kB / 0.5603 GB, free: 13.65 MB / 430.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.002774/0.4579, allocations: 2.152 MB / 0.5624 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.4603, allocations: 1.398 MB / 0.5638 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4603, allocations: 0 / 0.5638 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.4615, allocations: 0.8283 MB / 0.5646 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.4623, allocations: 113.1 kB / 0.5647 GB, free: 9.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.4735, allocations: 7.628 MB / 0.5721 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.4743, allocations: 1.087 MB / 0.5732 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.4748, allocations: 184.7 kB / 0.5734 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.4752, allocations: 271.3 kB / 0.5736 GB, free: 15.63 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4752, allocations: 0 / 0.5736 GB, free: 15.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.5178, allocations: 16.98 MB / 0.5902 GB, free: 14.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.85, allocations: 22.7 kB / 0.5902 GB, free: 14.75 MB / 462.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches