Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",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.001275/0.001275, allocations: 105 kB / 17.06 MB, free: 6.02 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.001271/0.001271, allocations: 192 kB / 18 MB, free: 5.098 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.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1881/0.1881, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 457.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3134, allocations: 58.06 MB / 0.5036 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006575/0.32, allocations: 7.413 MB / 0.5109 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.3255, allocations: 4.4 MB / 0.5152 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/0.3261, allocations: 11.72 kB / 0.5152 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.3288, allocations: 1.027 MB / 0.5162 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.3322, allocations: 1.203 MB / 0.5173 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3333, allocations: 325.2 kB / 0.5177 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002437/0.3357, allocations: 1.401 MB / 0.519 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.337, allocations: 0.6552 MB / 0.5197 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.3383, allocations: 0.6152 MB / 0.5203 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.3396, allocations: 0.6826 MB / 0.5209 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.3397, allocations: 63.59 kB / 0.521 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.3425, allocations: 1.33 MB / 0.5223 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006529/0.3431, allocations: 476.9 kB / 0.5227 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.3438, allocations: 445.8 kB / 0.5232 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.3466, allocations: 1.453 MB / 0.5246 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3467, allocations: 1.344 kB / 0.5246 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3467, allocations: 0 / 0.5246 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.3467, allocations: 4 kB / 0.5246 GB, free: 10.89 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00227/0.349, allocations: 1.157 MB / 0.5257 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.349, allocations: 13.42 kB / 0.5257 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.3492, allocations: 132.2 kB / 0.5259 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.3526, allocations: 387.3 kB / 0.5262 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008957/0.3535, allocations: 494 kB / 0.5267 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.3535, allocations: 49.88 kB / 0.5268 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.3537, allocations: 76.36 kB / 0.5268 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3558, allocations: 1.181 MB / 0.528 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3559, allocations: 2.234 kB / 0.528 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.77e-05/0.356, allocations: 31.2 kB / 0.528 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.3561, allocations: 73.89 kB / 0.5281 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.3584, allocations: 1.246 MB / 0.5293 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.3642, allocations: 3.494 MB / 0.5327 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3659, allocations: 1.054 MB / 0.5337 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/0.3669, allocations: 0.6631 MB / 0.5344 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.3669, allocations: 15.45 kB / 0.5344 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.367, allocations: 50.97 kB / 0.5345 GB, free: 5.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.016e-06/0.367, allocations: 0 / 0.5345 GB, free: 5.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006949/0.374, allocations: 3.105 MB / 0.5375 GB, free: 3.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.3741, allocations: 91.3 kB / 0.5376 GB, free: 3.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.3746, allocations: 358.4 kB / 0.5379 GB, free: 3.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.3746, allocations: 41.33 kB / 0.538 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.3749, allocations: 331.7 kB / 0.5383 GB, free: 3.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.3752, allocations: 328.9 kB / 0.5386 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.3755, allocations: 160.2 kB / 0.5387 GB, free: 2.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3757, allocations: 367.3 kB / 0.5391 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.3764, allocations: 465.5 kB / 0.5395 GB, free: 2.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.3773, allocations: 0.5742 MB / 0.5401 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.3789, allocations: 1.112 MB / 0.5412 GB, free: 1.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3789, allocations: 1 kB / 0.5412 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002666/0.3816, allocations: 1.478 MB / 0.5426 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3816, allocations: 11.98 kB / 0.5426 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3816, allocations: 0 / 0.5426 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.3826, allocations: 334.4 kB / 0.543 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.3834, allocations: 195.7 kB / 0.5431 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/0.3894, allocations: 4.186 MB / 0.5472 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.39, allocations: 43.95 kB / 0.5473 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/0.3901, allocations: 40.05 kB / 0.5473 GB, free: 11.4 MB / 414.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.0005179/0.3907, allocations: 293.6 kB / 0.5476 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.3909, allocations: 59.62 kB / 0.5476 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003013/0.3939, allocations: 1.567 MB / 0.5492 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.3939, allocations: 12 kB / 0.5492 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3939, allocations: 4 kB / 0.5492 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.394, allocations: 7.969 kB / 0.5492 GB, free: 9.441 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.005277/0.3992, allocations: 3.027 MB / 0.5522 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3993, allocations: 4 kB / 0.5522 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.3999, allocations: 163.8 kB / 0.5523 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008687/0.4008, allocations: 292.8 kB / 0.5526 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.4009, allocations: 23.98 kB / 0.5526 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005394/0.4063, allocations: 3.919 MB / 0.5564 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4063, allocations: 4 kB / 0.5564 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.409, allocations: 1.598 MB / 0.558 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.4092, allocations: 148.6 kB / 0.5581 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4093, allocations: 27.88 kB / 0.5582 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.4098, allocations: 43.95 kB / 0.5582 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.41, allocations: 76.89 kB / 0.5583 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/0.4101, allocations: 43.92 kB / 0.5583 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.4104, allocations: 263.1 kB / 0.5586 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4104, allocations: 0 / 0.5586 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001004/0.4114, allocations: 300 kB / 0.5589 GB, free: 15.17 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.002905/0.4143, allocations: 2.165 MB / 0.561 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.4166, allocations: 1.409 MB / 0.5624 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.4166, allocations: 4 kB / 0.5624 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.4179, allocations: 0.8441 MB / 0.5632 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.4187, allocations: 109 kB / 0.5633 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.4299, allocations: 7.555 MB / 0.5707 GB, free: 2.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008448/0.4307, allocations: 1.068 MB / 0.5717 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000455/0.4312, allocations: 176.6 kB / 0.5719 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.4316, allocations: 263.3 kB / 0.5721 GB, free: 1.227 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4316, allocations: 0 / 0.5721 GB, free: 1.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.4792, allocations: 16.53 MB / 0.5883 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12, allocations: 13.69 kB / 0.5883 GB, free: 0.8086 MB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches