Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006983/0.0006984, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0007168/0.0007168, allocations: 184.3 kB / 17.57 MB, free: 6.199 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.181/1.181, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1544/0.1544, allocations: 38.09 MB / 330.8 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09293, allocations: 59.17 MB / 459.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003838/0.0968, allocations: 3.809 MB / 463.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.09913, allocations: 1.866 MB / 465.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.09938, allocations: 11.94 kB / 465.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.09958, allocations: 43.64 kB / 465.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.1005, allocations: 382.8 kB / 466 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.1008, allocations: 123.7 kB / 466.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.1016, allocations: 0.8457 MB / 467 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.1024, allocations: 447.6 kB / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.1027, allocations: 167.2 kB / 467.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.103, allocations: 223.2 kB / 467.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1031, allocations: 19.94 kB / 467.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.1038, allocations: 0.5299 MB / 468.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.104, allocations: 139.7 kB / 468.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1042, allocations: 161 kB / 468.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.1048, allocations: 0.5062 MB / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1049, allocations: 4 kB / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1049, allocations: 0 / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.1049, allocations: 0 / 469.1 MB, free: 13.73 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000706/0.1056, allocations: 0.5419 MB / 469.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1056, allocations: 8.031 kB / 469.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.1068, allocations: 140.4 kB / 469.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1071, allocations: 289.3 kB / 470.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1072, allocations: 20.94 kB / 470.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.1073, allocations: 24.38 kB / 470.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.1079, allocations: 447.9 kB / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1079, allocations: 0 / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.1079, allocations: 8 kB / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.108, allocations: 24.55 kB / 470.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.1086, allocations: 429.8 kB / 471 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1105, allocations: 1.721 MB / 472.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1108, allocations: 298.1 kB / 473 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.111, allocations: 133.7 kB / 473.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.111, allocations: 0 / 473.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1111, allocations: 38.56 kB / 473.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.1111, allocations: 0 / 473.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00166/0.1127, allocations: 0.7993 MB / 474 MB, free: 8.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.1128, allocations: 81.09 kB / 474.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.113, allocations: 207 kB / 474.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.113, allocations: 25.7 kB / 474.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1132, allocations: 184 kB / 474.5 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1132, allocations: 82.89 kB / 474.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.1133, allocations: 29.7 kB / 474.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1134, allocations: 331 kB / 474.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1136, allocations: 108.5 kB / 475 MB, free: 7.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1138, allocations: 208.9 kB / 475.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.1142, allocations: 339.7 kB / 475.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1142, allocations: 0 / 475.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007125/0.1149, allocations: 436.8 kB / 476 MB, free: 6.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1149, allocations: 8 kB / 476 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.115, allocations: 4 kB / 476 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/0.1153, allocations: 101.1 kB / 476.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1156, allocations: 63.83 kB / 476.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.1173, allocations: 1.779 MB / 478 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1174, allocations: 20.02 kB / 478 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1175, allocations: 15.98 kB / 478 MB, free: 4.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1176, allocations: 177.8 kB / 478.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.1177, allocations: 19.72 kB / 478.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.1184, allocations: 388.8 kB / 478.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1184, allocations: 0 / 478.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1184, allocations: 7.938 kB / 478.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1184, allocations: 0 / 478.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.1197, allocations: 0.9176 MB / 479.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1197, allocations: 12.05 kB / 479.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1199, allocations: 32.17 kB / 479.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.1201, allocations: 68.8 kB / 479.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1202, allocations: 15.92 kB / 479.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.1217, allocations: 1.709 MB / 481.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1217, allocations: 7.922 kB / 481.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.1223, allocations: 462.4 kB / 481.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1224, allocations: 96.77 kB / 481.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1224, allocations: 11.98 kB / 481.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1225, allocations: 8 kB / 481.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1226, allocations: 19.97 kB / 481.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1226, allocations: 8 kB / 481.9 MB, free: 48 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1227, allocations: 147.2 kB / 482.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1227, allocations: 0 / 482.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.1232, allocations: 84 kB / 482.1 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.1233, allocations: 107.2 kB / 482.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.1239, allocations: 434.8 kB / 482.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.124, allocations: 4.062 kB / 482.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.1244, allocations: 282.5 kB / 483 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1247, allocations: 35.97 kB / 483 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.1257, allocations: 0.7445 MB / 483.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.126, allocations: 0.7987 MB / 484.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1261, allocations: 54.03 kB / 484.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.1262, allocations: 23.44 kB / 484.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1262, allocations: 3.938 kB / 484.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005194/0.1314, allocations: 2.795 MB / 487.4 MB, free: 10.46 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches