Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 90.72 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.001334/0.001334, allocations: 177 kB / 17.56 MB, free: 6.18 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.207/1.207, allocations: 223.3 MB / 241.6 MB, free: 84 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1584/0.1584, allocations: 38.09 MB / 330.8 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 12.72 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08368, allocations: 59.17 MB / 459.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005843/0.08955, allocations: 6.134 MB / 466 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.09199, allocations: 1.601 MB / 467.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004448/0.09247, allocations: 43.69 kB / 467.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.09286, allocations: 111.3 kB / 467.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.09366, allocations: 346.6 kB / 468.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.09394, allocations: 115.9 kB / 468.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.09506, allocations: 1.145 MB / 469.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.09534, allocations: 162.4 kB / 469.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.09579, allocations: 278.6 kB / 469.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.09638, allocations: 390.7 kB / 470.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.09645, allocations: 23.94 kB / 470.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.09654, allocations: 24 kB / 470.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.09674, allocations: 167.5 kB / 470.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.09703, allocations: 256.4 kB / 470.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.09749, allocations: 0.4942 MB / 471.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0975, allocations: 0 / 471.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09751, allocations: 0 / 471.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.09753, allocations: 0 / 471.1 MB, free: 11.74 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001222/0.09876, allocations: 0.7307 MB / 471.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.09881, allocations: 11.97 kB / 471.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.09894, allocations: 56.28 kB / 471.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.09967, allocations: 456.5 kB / 472.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.09972, allocations: 36.92 kB / 472.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.09979, allocations: 39.91 kB / 472.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.1005, allocations: 0.4961 MB / 473 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1005, allocations: 0 / 473 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.1006, allocations: 12 kB / 473 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.1006, allocations: 24.98 kB / 473 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.1012, allocations: 367.7 kB / 473.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.1035, allocations: 2.091 MB / 475.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.1039, allocations: 237.2 kB / 475.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.1041, allocations: 129.7 kB / 475.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1042, allocations: 8 kB / 475.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1042, allocations: 34.56 kB / 475.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.1042, allocations: 0 / 475.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001103/0.1053, allocations: 0.7599 MB / 476.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1054, allocations: 85.23 kB / 476.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.1057, allocations: 385.4 kB / 477.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1058, allocations: 29.7 kB / 477.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1059, allocations: 295 kB / 477.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.106, allocations: 74.86 kB / 477.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.1061, allocations: 45.69 kB / 477.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1062, allocations: 346.8 kB / 477.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1063, allocations: 88.83 kB / 477.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1066, allocations: 277.2 kB / 478.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.107, allocations: 408.3 kB / 478.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.107, allocations: 8 kB / 478.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006655/0.1077, allocations: 447.6 kB / 479 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1077, allocations: 8 kB / 479 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1077, allocations: 8 kB / 479.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.1079, allocations: 48.83 kB / 479.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1082, allocations: 83.83 kB / 479.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.1094, allocations: 1.496 MB / 480.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1096, allocations: 28.05 kB / 480.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1096, allocations: 20 kB / 480.7 MB, free: 1.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.1098, allocations: 201.6 kB / 480.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.1099, allocations: 39.44 kB / 481 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.1102, allocations: 233.1 kB / 481.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1103, allocations: 4 kB / 481.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1103, allocations: 3.938 kB / 481.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1103, allocations: 7.922 kB / 481.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.111, allocations: 0.6855 MB / 481.9 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.111, allocations: 7.984 kB / 481.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.1113, allocations: 47.92 kB / 481.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1113, allocations: 0 / 481.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1113, allocations: 7.938 kB / 482 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.1113, allocations: 3.984 kB / 482 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1113, allocations: 4 kB / 482 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.1118, allocations: 440.8 kB / 482.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1119, allocations: 124.6 kB / 482.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.112, allocations: 4 kB / 482.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1121, allocations: 8 kB / 482.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1121, allocations: 15.97 kB / 482.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1121, allocations: 12.06 kB / 482.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.1124, allocations: 251.2 kB / 482.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 482.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.1128, allocations: 92 kB / 482.9 MB, free: 15.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 9.701e-05/0.1129, allocations: 103.2 kB / 483 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005826/0.1135, allocations: 391 kB / 483.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.1135, allocations: 0 / 483.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1136, allocations: 95.83 kB / 483.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.1142, allocations: 86.7 kB / 483.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1155, allocations: 1.069 MB / 484.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.1159, allocations: 0.8587 MB / 485.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.1162, allocations: 84.12 kB / 485.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.1162, allocations: 31.44 kB / 485.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1162, allocations: 0 / 485.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.006679/0.1229, allocations: 3.394 MB / 489 MB, free: 9.008 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches