Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007178/0.0007179, allocations: 90.55 kB / 16.65 MB, free: 6.535 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.0007273/0.0007274, allocations: 174 kB / 17.56 MB, free: 6.184 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.234/1.234, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1628/0.1628, allocations: 38.09 MB / 330.8 MB, free: 8.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 12 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09847, allocations: 59.16 MB / 459.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00498/0.1035, allocations: 4.818 MB / 464.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1055, allocations: 1.48 MB / 466.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1057, allocations: 23.88 kB / 466.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.106, allocations: 83.45 kB / 466.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.1065, allocations: 231 kB / 466.5 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1068, allocations: 155.8 kB / 466.7 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.1076, allocations: 0.8494 MB / 467.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.1084, allocations: 0.5515 MB / 468.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1087, allocations: 203 kB / 468.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1091, allocations: 275.1 kB / 468.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1092, allocations: 16 kB / 468.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1094, allocations: 127.7 kB / 468.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.1096, allocations: 187.5 kB / 468.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.1098, allocations: 224.6 kB / 469.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1103, allocations: 0.4905 MB / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1103, allocations: 0 / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1103, allocations: 0 / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1103, allocations: 3.938 kB / 469.6 MB, free: 13.3 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.000933/0.1113, allocations: 0.6328 MB / 470.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1113, allocations: 8.031 kB / 470.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.1119, allocations: 80.42 kB / 470.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.1125, allocations: 387.2 kB / 470.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1125, allocations: 25.38 kB / 470.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1126, allocations: 52.03 kB / 470.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.1134, allocations: 484.8 kB / 471.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1134, allocations: 3.938 kB / 471.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1135, allocations: 12 kB / 471.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.905e-05/0.1136, allocations: 28.98 kB / 471.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.1141, allocations: 347.7 kB / 471.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.1163, allocations: 1.741 MB / 473.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1166, allocations: 153.1 kB / 473.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1168, allocations: 109.7 kB / 473.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1168, allocations: 3.938 kB / 473.6 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.1169, allocations: 42.55 kB / 473.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1169, allocations: 0 / 473.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001395/0.1183, allocations: 0.8873 MB / 474.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1184, allocations: 77.11 kB / 474.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1187, allocations: 312.5 kB / 474.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1187, allocations: 25.7 kB / 474.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1189, allocations: 247.4 kB / 475.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.119, allocations: 79.14 kB / 475.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.119, allocations: 29.72 kB / 475.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1191, allocations: 346.7 kB / 475.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1193, allocations: 96.22 kB / 475.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.1195, allocations: 213.1 kB / 475.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.12, allocations: 330.8 kB / 476.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.12, allocations: 0 / 476.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008073/0.1208, allocations: 477 kB / 476.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1208, allocations: 8 kB / 476.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006082/0.1214, allocations: 308.4 kB / 477 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.1219, allocations: 132.7 kB / 477.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.1221, allocations: 59.91 kB / 477.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.1245, allocations: 2.201 MB / 479.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1247, allocations: 19.86 kB / 479.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1247, allocations: 12 kB / 479.4 MB, free: 2.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.1249, allocations: 193.7 kB / 479.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.125, allocations: 27.62 kB / 479.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.1255, allocations: 268.5 kB / 479.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1255, allocations: 3.938 kB / 479.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1255, allocations: 4.062 kB / 479.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1255, allocations: 4 kB / 479.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.1265, allocations: 0.7312 MB / 480.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1265, allocations: 4 kB / 480.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.1267, allocations: 43.89 kB / 480.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.984e-05/0.1268, allocations: 36.83 kB / 480.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1268, allocations: 4 kB / 480.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1268, allocations: 4 kB / 480.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1268, allocations: 4.062 kB / 480.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.1274, allocations: 452.6 kB / 481.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1275, allocations: 100.7 kB / 481.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.1275, allocations: 8.031 kB / 481.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1276, allocations: 8 kB / 481.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1277, allocations: 19.92 kB / 481.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1277, allocations: 7.984 kB / 481.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.1279, allocations: 215.1 kB / 481.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1279, allocations: 0 / 481.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.1283, allocations: 88 kB / 481.6 MB, free: 464 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.1284, allocations: 107.2 kB / 481.7 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.1291, allocations: 406.3 kB / 482.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1291, allocations: 0 / 482.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.1293, allocations: 182.7 kB / 482.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.1298, allocations: 61.25 kB / 482.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1311, allocations: 1.086 MB / 483.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.1315, allocations: 0.8422 MB / 484.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.1317, allocations: 58.92 kB / 484.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.1317, allocations: 23.44 kB / 484.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1317, allocations: 4 kB / 484.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Templates: time 0.006588/0.1383, allocations: 3.585 MB / 488 MB, free: 10.04 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches