Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 107.7 kB / 17.68 MB, free: 5.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.001986/0.001986, allocations: 192 kB / 18.62 MB, free: 4.41 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.388/1.388, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1754/0.1754, allocations: 38.04 MB / 330.5 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.2 kB / 400.2 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 58.06 MB / 458.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005696/0.1087, allocations: 4.58 MB / 462.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1108, allocations: 1.476 MB / 464.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.111, allocations: 15.94 kB / 464.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000979/0.112, allocations: 376.5 kB / 464.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.1124, allocations: 230.8 kB / 465 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.113, allocations: 259.3 kB / 465.2 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005781/0.1136, allocations: 0.5573 MB / 465.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.114, allocations: 338.4 kB / 466.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1143, allocations: 255 kB / 466.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.1148, allocations: 319 kB / 466.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.1148, allocations: 32 kB / 466.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1151, allocations: 131.8 kB / 466.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1153, allocations: 231.4 kB / 467.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.1155, allocations: 246.8 kB / 467.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.1161, allocations: 0.5957 MB / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1161, allocations: 0 / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1161, allocations: 0 / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1161, allocations: 4 kB / 467.9 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001222/0.1174, allocations: 0.766 MB / 468.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1174, allocations: 15.89 kB / 468.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.118, allocations: 88.22 kB / 468.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.1187, allocations: 420 kB / 469.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1187, allocations: 33.36 kB / 469.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.1189, allocations: 64.06 kB / 469.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.1197, allocations: 0.645 MB / 469.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1198, allocations: 3.938 kB / 469.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.1198, allocations: 19.98 kB / 469.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.12, allocations: 32.98 kB / 470 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.1207, allocations: 487.5 kB / 470.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.1239, allocations: 3.002 MB / 473.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1242, allocations: 181 kB / 473.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1244, allocations: 105.7 kB / 473.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1244, allocations: 4 kB / 473.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1245, allocations: 50.48 kB / 473.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.1245, allocations: 0 / 473.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001261/0.1257, allocations: 0.8302 MB / 474.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1258, allocations: 85.06 kB / 474.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1261, allocations: 345.7 kB / 475 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1261, allocations: 33.7 kB / 475.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.1264, allocations: 310.9 kB / 475.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.1265, allocations: 71 kB / 475.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.1266, allocations: 93.92 kB / 475.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1268, allocations: 338.8 kB / 475.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.127, allocations: 136.7 kB / 476 MB, free: 5.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.1273, allocations: 326.9 kB / 476.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.1278, allocations: 0.5008 MB / 476.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1278, allocations: 0 / 476.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009299/0.1288, allocations: 0.556 MB / 477.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1288, allocations: 8 kB / 477.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004932/0.1293, allocations: 275.6 kB / 477.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.1296, allocations: 84.78 kB / 477.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1299, allocations: 95.83 kB / 477.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.1315, allocations: 1.727 MB / 479.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1317, allocations: 16 kB / 479.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.1318, allocations: 23.98 kB / 479.6 MB, free: 1.219 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.132, allocations: 225.5 kB / 479.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.1321, allocations: 35.53 kB / 479.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.1325, allocations: 284.7 kB / 480.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1326, allocations: 7.938 kB / 480.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1326, allocations: 0 / 480.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1326, allocations: 0 / 480.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1337, allocations: 0.7951 MB / 480.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1337, allocations: 0 / 480.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.134, allocations: 55.95 kB / 481 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.134, allocations: 7.938 kB / 481 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1341, allocations: 8 kB / 481 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1341, allocations: 7.938 kB / 481 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1341, allocations: 7.938 kB / 481 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.1346, allocations: 480.8 kB / 481.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.1347, allocations: 104.7 kB / 481.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1348, allocations: 8 kB / 481.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1349, allocations: 15.97 kB / 481.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.135, allocations: 15.92 kB / 481.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.135, allocations: 11.98 kB / 481.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.1352, allocations: 235.2 kB / 481.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1352, allocations: 0 / 481.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.1356, allocations: 96 kB / 482 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1358, allocations: 99.25 kB / 482.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.1365, allocations: 447 kB / 482.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1365, allocations: 0 / 482.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1366, allocations: 119.8 kB / 482.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1371, allocations: 60.77 kB / 482.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1385, allocations: 0.9836 MB / 483.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1389, allocations: 0.8739 MB / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.1392, allocations: 111.2 kB / 484.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.1393, allocations: 27.44 kB / 484.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1393, allocations: 0 / 484.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.007299/0.1466, allocations: 3.527 MB / 488.2 MB, free: 8.441 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches