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.0009947/0.0009947, allocations: 93.27 kB / 16.3 MB, free: 5.531 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.001072/0.001072, allocations: 184.6 kB / 17.2 MB, free: 5.465 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.241/1.241, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1683/0.1683, allocations: 38.08 MB / 330.3 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003243, allocations: 8 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 59.17 MB / 459.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004134/0.1066, allocations: 3.534 MB / 462.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.109, allocations: 1.7 MB / 464.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.1093, allocations: 11.94 kB / 464.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1095, allocations: 55.66 kB / 464.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.1103, allocations: 235.2 kB / 464.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1107, allocations: 111.7 kB / 464.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.111, allocations: 215.5 kB / 465 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/0.1118, allocations: 418.4 kB / 465.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.112, allocations: 135.5 kB / 465.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1122, allocations: 115.6 kB / 465.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1122, allocations: 12 kB / 465.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.1127, allocations: 231.5 kB / 465.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1128, allocations: 131.7 kB / 466 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.1129, allocations: 81.52 kB / 466.1 MB, free: 436 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.1133, allocations: 351.2 kB / 466.4 MB, free: 84 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1133, allocations: 0 / 466.4 MB, free: 84 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1133, allocations: 0 / 466.4 MB, free: 84 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1133, allocations: 4 kB / 466.4 MB, free: 80 kB / 334.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.0007245/0.114, allocations: 0.5417 MB / 467 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1141, allocations: 12.03 kB / 467 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.1152, allocations: 147.5 kB / 467.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1156, allocations: 296 kB / 467.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1156, allocations: 12.56 kB / 467.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.1157, allocations: 31.98 kB / 467.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.1163, allocations: 431.6 kB / 467.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1163, allocations: 4 kB / 467.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1163, allocations: 15.98 kB / 467.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.1164, allocations: 20.55 kB / 467.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.1169, allocations: 425.9 kB / 468.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.119, allocations: 1.722 MB / 470.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1193, allocations: 282.7 kB / 470.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1194, allocations: 8.25 kB / 470.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1194, allocations: 42.67 kB / 470.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.1194, allocations: 4 kB / 470.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001579/0.121, allocations: 0.7782 MB / 471.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1211, allocations: 89.03 kB / 471.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1213, allocations: 207.1 kB / 471.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1213, allocations: 37.7 kB / 471.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1214, allocations: 180 kB / 471.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.1215, allocations: 78.91 kB / 471.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.1215, allocations: 4 kB / 471.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1216, allocations: 330.8 kB / 472.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1218, allocations: 108.5 kB / 472.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.122, allocations: 201 kB / 472.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1222, allocations: 139.8 kB / 472.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1222, allocations: 4 kB / 472.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006682/0.1228, allocations: 428.9 kB / 472.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1229, allocations: 8 kB / 472.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1229, allocations: 4 kB / 472.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.1232, allocations: 97.05 kB / 473 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.1234, allocations: 55.91 kB / 473.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.1252, allocations: 1.815 MB / 474.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1254, allocations: 15.98 kB / 474.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1254, allocations: 19.92 kB / 474.9 MB, free: 7.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.1256, allocations: 173.7 kB / 475.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.1256, allocations: 23.67 kB / 475.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.1263, allocations: 381 kB / 475.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1263, allocations: 7.953 kB / 475.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1263, allocations: 0 / 475.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1263, allocations: 0 / 475.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1277, allocations: 0.9215 MB / 476.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1277, allocations: 4 kB / 476.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1279, allocations: 31.98 kB / 476.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.1281, allocations: 76.83 kB / 476.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1281, allocations: 11.94 kB / 476.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.1297, allocations: 1.733 MB / 478.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1297, allocations: 0 / 478.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.1304, allocations: 0.492 MB / 478.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.1304, allocations: 96.77 kB / 478.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.1305, allocations: 11.98 kB / 478.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1306, allocations: 8 kB / 478.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1307, allocations: 15.97 kB / 478.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1307, allocations: 12 kB / 478.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1308, allocations: 148.6 kB / 479.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.315e-06/0.1308, allocations: 3.938 kB / 479.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.1313, allocations: 87.94 kB / 479.2 MB, free: 2.488 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.577e-05/0.1314, allocations: 99.25 kB / 479.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.132, allocations: 423 kB / 479.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1321, allocations: 8.062 kB / 479.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.1324, allocations: 286.4 kB / 480 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1327, allocations: 27.94 kB / 480 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.1337, allocations: 0.7245 MB / 480.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1341, allocations: 0.807 MB / 481.5 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.1343, allocations: 58.03 kB / 481.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.1343, allocations: 23.42 kB / 481.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1343, allocations: 0 / 481.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005202/0.1395, allocations: 2.71 MB / 484.3 MB, free: 13.25 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