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.001437/0.001437, allocations: 108 kB / 16.92 MB, free: 6.332 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.001481/0.001482, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.337/1.337, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1799/0.1799, allocations: 38.05 MB / 329.7 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 62.62 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.08931, allocations: 58.06 MB / 456.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006147/0.09549, allocations: 4.572 MB / 461.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.09751, allocations: 1.301 MB / 462.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.09769, allocations: 23.81 kB / 462.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.09881, allocations: 404.3 kB / 463.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.09931, allocations: 250.8 kB / 463.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.09973, allocations: 167.6 kB / 463.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.1003, allocations: 0.5607 MB / 464.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.1008, allocations: 281.2 kB / 464.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.1011, allocations: 258.9 kB / 464.7 MB, free: 264 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.1016, allocations: 275.1 kB / 464.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.1017, allocations: 32 kB / 465 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.1019, allocations: 123.7 kB / 465.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1022, allocations: 199.5 kB / 465.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.1024, allocations: 211 kB / 465.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.1029, allocations: 0.5178 MB / 466 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.103, allocations: 3.984 kB / 466 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.103, allocations: 0 / 466 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.103, allocations: 0 / 466 MB, free: 14.91 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.001129/0.1041, allocations: 0.6952 MB / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1042, allocations: 15.89 kB / 466.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005769/0.1047, allocations: 76.42 kB / 466.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.1054, allocations: 399.2 kB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1054, allocations: 21.38 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1055, allocations: 48.11 kB / 467.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.1063, allocations: 488.8 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1063, allocations: 0 / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.1063, allocations: 12 kB / 467.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.1065, allocations: 28.98 kB / 467.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.107, allocations: 347.7 kB / 468.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.1092, allocations: 1.733 MB / 469.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.1094, allocations: 149.1 kB / 470 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1096, allocations: 118 kB / 470.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1096, allocations: 7.938 kB / 470.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1097, allocations: 34.5 kB / 470.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1097, allocations: 0 / 470.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001485/0.1112, allocations: 0.8861 MB / 471 MB, free: 9.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1112, allocations: 85.11 kB / 471.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1116, allocations: 308.5 kB / 471.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1116, allocations: 29.7 kB / 471.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1118, allocations: 255.4 kB / 471.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.1118, allocations: 59.11 kB / 471.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.1119, allocations: 61.97 kB / 471.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1121, allocations: 346.8 kB / 472.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1122, allocations: 104.2 kB / 472.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1124, allocations: 193.4 kB / 472.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.1128, allocations: 326.5 kB / 472.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1129, allocations: 0 / 472.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008991/0.1138, allocations: 476.4 kB / 473.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1138, allocations: 10.78 kB / 473.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006112/0.1144, allocations: 320.3 kB / 473.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.1149, allocations: 140.7 kB / 473.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.1151, allocations: 59.86 kB / 473.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.118, allocations: 2.45 MB / 476.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1182, allocations: 11.98 kB / 476.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.1182, allocations: 16 kB / 476.2 MB, free: 4.055 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.0002116/0.1184, allocations: 185.7 kB / 476.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.1185, allocations: 27.72 kB / 476.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.1189, allocations: 269.2 kB / 476.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1189, allocations: 4 kB / 476.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1189, allocations: 0 / 476.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1189, allocations: 7.969 kB / 476.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.12, allocations: 0.7459 MB / 477.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.12, allocations: 0 / 477.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.1203, allocations: 35.98 kB / 477.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1204, allocations: 36.83 kB / 477.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1204, allocations: 7.984 kB / 477.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1204, allocations: 0 / 477.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1204, allocations: 4 kB / 477.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.1209, allocations: 442.3 kB / 478 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.121, allocations: 104.8 kB / 478.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.1211, allocations: 8 kB / 478.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1212, allocations: 12.05 kB / 478.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1213, allocations: 27.86 kB / 478.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1213, allocations: 4 kB / 478.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1215, allocations: 219 kB / 478.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1215, allocations: 0 / 478.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.1219, allocations: 88 kB / 478.4 MB, free: 1.723 MB / 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.0001131/0.1221, allocations: 103.2 kB / 478.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.1228, allocations: 426.2 kB / 478.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1228, allocations: 0 / 478.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.123, allocations: 186.7 kB / 479.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.1235, allocations: 61.12 kB / 479.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1249, allocations: 0.8725 MB / 480 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.1255, allocations: 0.8419 MB / 480.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.1257, allocations: 62.91 kB / 480.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.1258, allocations: 23.44 kB / 481 MB, free: 15.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1258, allocations: 0 / 481 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Templates: time 0.007845/0.1336, allocations: 3.807 MB / 484.8 MB, free: 11.28 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches