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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008405/0.0008404, allocations: 79.36 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1851/0.1851, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.897e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09713, allocations: 56.33 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5133, allocations: 98.18 MB / 0.5518 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5136, allocations: 83.95 kB / 0.5519 GB, free: 12.69 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03249/0.5462, allocations: 10.81 MB / 0.5625 GB, free: 1.762 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5462, allocations: 0 / 0.5625 GB, free: 1.762 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.244e-05/0.5463, allocations: 12 kB / 0.5625 GB, free: 1.75 MB / 395.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.001872/0.5482, allocations: 0.6801 MB / 0.5631 GB, free: 1.023 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.5483, allocations: 8.031 kB / 0.5631 GB, free: 1.016 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.5486, allocations: 59.3 kB / 0.5632 GB, free: 0.957 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.5526, allocations: 1.186 MB / 0.5644 GB, free: 15.73 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.5527, allocations: 12 kB / 0.5644 GB, free: 15.71 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.5528, allocations: 20 kB / 0.5644 GB, free: 15.7 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008036/0.5536, allocations: 334 kB / 0.5647 GB, free: 15.37 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.5545, allocations: 439 kB / 0.5651 GB, free: 14.91 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5546, allocations: 3.938 kB / 0.5651 GB, free: 14.91 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.5546, allocations: 0 / 0.5651 GB, free: 14.91 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.5547, allocations: 28.72 kB / 0.5652 GB, free: 14.88 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.558, allocations: 2.003 MB / 0.5671 GB, free: 12.74 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.5585, allocations: 229.7 kB / 0.5673 GB, free: 12.5 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.5588, allocations: 122.1 kB / 0.5675 GB, free: 12.37 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.5588, allocations: 12.16 kB / 0.5675 GB, free: 12.36 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5589, allocations: 34.75 kB / 0.5675 GB, free: 12.32 MB / 411.1 MB Notification: Performance of pre-optimization done (n=22): time 2.495e-06/0.5589, allocations: 0 / 0.5675 GB, free: 12.32 MB / 411.1 MB Notification: Performance of matching and sorting (n=23): time 0.001403/0.5603, allocations: 0.6436 MB / 0.5681 GB, free: 11.62 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.5604, allocations: 85.05 kB / 0.5682 GB, free: 11.52 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.5608, allocations: 313 kB / 0.5685 GB, free: 11.21 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.5609, allocations: 29.64 kB / 0.5685 GB, free: 11.18 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.5611, allocations: 291.2 kB / 0.5688 GB, free: 10.88 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.5612, allocations: 74.91 kB / 0.5689 GB, free: 10.81 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.5612, allocations: 4.031 kB / 0.5689 GB, free: 10.8 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5614, allocations: 350.8 kB / 0.5692 GB, free: 10.45 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5616, allocations: 72.86 kB / 0.5693 GB, free: 10.38 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.5618, allocations: 256.9 kB / 0.5695 GB, free: 10.05 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.5621, allocations: 123.9 kB / 0.5697 GB, free: 9.926 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5621, allocations: 4 kB / 0.5697 GB, free: 9.922 MB / 411.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008149/0.5629, allocations: 397.8 kB / 0.57 GB, free: 9.523 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5629, allocations: 8 kB / 0.57 GB, free: 9.516 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.563, allocations: 4 kB / 0.57 GB, free: 9.512 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.5632, allocations: 60.77 kB / 0.5701 GB, free: 9.449 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.5635, allocations: 83.84 kB / 0.5702 GB, free: 9.367 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.5652, allocations: 1.421 MB / 0.5716 GB, free: 7.832 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.5655, allocations: 20 kB / 0.5716 GB, free: 7.812 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.5655, allocations: 24 kB / 0.5716 GB, free: 7.789 MB / 411.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 () * 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 (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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.5657, allocations: 116.8 kB / 0.5717 GB, free: 7.668 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.5658, allocations: 35.53 kB / 0.5718 GB, free: 7.633 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.5662, allocations: 220.8 kB / 0.572 GB, free: 7.402 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.5662, allocations: 4 kB / 0.572 GB, free: 7.398 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5662, allocations: 3.984 kB / 0.572 GB, free: 7.395 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5662, allocations: 0 / 0.572 GB, free: 7.395 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.5672, allocations: 0.5905 MB / 0.5726 GB, free: 6.758 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5672, allocations: 4 kB / 0.5726 GB, free: 6.754 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.5674, allocations: 51.91 kB / 0.5726 GB, free: 6.703 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.5675, allocations: 4 kB / 0.5726 GB, free: 6.699 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5675, allocations: 0 / 0.5726 GB, free: 6.699 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5675, allocations: 0 / 0.5726 GB, free: 6.699 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5675, allocations: 4 kB / 0.5726 GB, free: 6.695 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.5681, allocations: 439.9 kB / 0.573 GB, free: 6.23 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.5683, allocations: 128.5 kB / 0.5732 GB, free: 6.086 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.5683, allocations: 3.953 kB / 0.5732 GB, free: 6.082 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.5685, allocations: 3.984 kB / 0.5732 GB, free: 6.078 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.5685, allocations: 20.05 kB / 0.5732 GB, free: 6.059 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5685, allocations: 8 kB / 0.5732 GB, free: 6.051 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.5688, allocations: 231 kB / 0.5734 GB, free: 5.828 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5688, allocations: 0 / 0.5734 GB, free: 5.828 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.5693, allocations: 80 kB / 0.5735 GB, free: 5.75 MB / 411.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.5697, allocations: 141 kB / 0.5736 GB, free: 5.605 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.5703, allocations: 343.1 kB / 0.5739 GB, free: 5.262 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5703, allocations: 0 / 0.5739 GB, free: 5.262 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.5705, allocations: 96.09 kB / 0.574 GB, free: 5.168 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.5711, allocations: 83.42 kB / 0.5741 GB, free: 5.09 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.5724, allocations: 0.5825 MB / 0.5747 GB, free: 4.477 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.573, allocations: 0.8701 MB / 0.5755 GB, free: 3.582 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.5734, allocations: 76.12 kB / 0.5756 GB, free: 3.504 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.5734, allocations: 31.44 kB / 0.5756 GB, free: 3.477 MB / 411.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5734, allocations: 0 / 0.5756 GB, free: 3.477 MB / 411.1 MB Notification: Performance of Templates: time 0.009341/0.5828, allocations: 3.311 MB / 0.5789 GB, free: 176 kB / 411.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (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) 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