Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001835/0.001835, allocations: 176.4 kB / 8.347 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.893/1.893, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.000979/0.000979, allocations: 79.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.235/0.235, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.276e-05, allocations: 3.984 kB / 410.6 MB, free: 46.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 56.32 MB / 466.9 MB, free: 6.559 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5613, allocations: 95.1 MB / 0.5488 GB, free: 15.82 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5617, allocations: 87.95 kB / 0.5489 GB, free: 15.73 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03551/0.5972, allocations: 12.77 MB / 0.5614 GB, free: 2.816 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5973, allocations: 4 kB / 0.5614 GB, free: 2.812 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.5973, allocations: 11.94 kB / 0.5614 GB, free: 2.801 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001044/0.5984, allocations: 0.6209 MB / 0.562 GB, free: 2.133 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5984, allocations: 8.031 kB / 0.562 GB, free: 2.125 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.5991, allocations: 103.4 kB / 0.5621 GB, free: 2.023 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.6012, allocations: 0.8612 MB / 0.563 GB, free: 1.121 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.6012, allocations: 12 kB / 0.563 GB, free: 1.109 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.6013, allocations: 20 kB / 0.563 GB, free: 1.09 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004675/0.6017, allocations: 265.5 kB / 0.5632 GB, free: 0.832 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.6024, allocations: 412.7 kB / 0.5636 GB, free: 412 kB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6024, allocations: 0 / 0.5636 GB, free: 412 kB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.6024, allocations: 3.953 kB / 0.5636 GB, free: 408 kB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.6025, allocations: 32.77 kB / 0.5637 GB, free: 376 kB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.6045, allocations: 1.549 MB / 0.5652 GB, free: 14.73 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.6048, allocations: 165.1 kB / 0.5653 GB, free: 14.55 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.6049, allocations: 101.7 kB / 0.5654 GB, free: 14.45 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.605, allocations: 7.953 kB / 0.5654 GB, free: 14.44 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.605, allocations: 42.56 kB / 0.5655 GB, free: 14.39 MB / 411.1 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.605, allocations: 4.75 kB / 0.5655 GB, free: 14.39 MB / 411.1 MB Notification: Performance of matching and sorting (n=20): time 0.001093/0.6061, allocations: 0.6696 MB / 0.5661 GB, free: 13.66 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.6062, allocations: 81.11 kB / 0.5662 GB, free: 13.57 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.6065, allocations: 245.1 kB / 0.5665 GB, free: 13.32 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.6065, allocations: 25.7 kB / 0.5665 GB, free: 13.29 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.6067, allocations: 255.8 kB / 0.5667 GB, free: 13.04 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.6067, allocations: 74.94 kB / 0.5668 GB, free: 12.96 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.6068, allocations: 0 / 0.5668 GB, free: 12.96 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6069, allocations: 342.8 kB / 0.5671 GB, free: 12.62 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.607, allocations: 91.95 kB / 0.5672 GB, free: 12.53 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.6072, allocations: 185.1 kB / 0.5674 GB, free: 12.3 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.6074, allocations: 131.9 kB / 0.5675 GB, free: 12.17 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6074, allocations: 0 / 0.5675 GB, free: 12.17 MB / 411.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006885/0.6081, allocations: 386.8 kB / 0.5679 GB, free: 11.79 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6082, allocations: 8 kB / 0.5679 GB, free: 11.78 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000468/0.6086, allocations: 248.5 kB / 0.5681 GB, free: 11.53 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.609, allocations: 81 kB / 0.5682 GB, free: 11.45 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.6092, allocations: 59.91 kB / 0.5683 GB, free: 11.39 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.611, allocations: 1.514 MB / 0.5697 GB, free: 9.762 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.6112, allocations: 7.984 kB / 0.5697 GB, free: 9.754 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.6112, allocations: 16 kB / 0.5698 GB, free: 9.738 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.6113, allocations: 109.1 kB / 0.5699 GB, free: 9.625 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.6114, allocations: 31.58 kB / 0.5699 GB, free: 9.594 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.6118, allocations: 254 kB / 0.5701 GB, free: 9.344 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6118, allocations: 8.062 kB / 0.5701 GB, free: 9.336 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.6118, allocations: 144 / 0.5701 GB, free: 9.336 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6118, allocations: 7.984 kB / 0.5701 GB, free: 9.328 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.6128, allocations: 0.6684 MB / 0.5708 GB, free: 8.609 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6128, allocations: 3.938 kB / 0.5708 GB, free: 8.605 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.6131, allocations: 47.97 kB / 0.5709 GB, free: 8.559 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6131, allocations: 8.062 kB / 0.5709 GB, free: 8.551 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.6131, allocations: 3.953 kB / 0.5709 GB, free: 8.547 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.6131, allocations: 7.938 kB / 0.5709 GB, free: 8.539 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6132, allocations: 0 / 0.5709 GB, free: 8.539 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.6137, allocations: 466.5 kB / 0.5713 GB, free: 8.039 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.6138, allocations: 100.7 kB / 0.5714 GB, free: 7.922 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.6138, allocations: 4 kB / 0.5714 GB, free: 7.918 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.614, allocations: 12.03 kB / 0.5714 GB, free: 7.906 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.614, allocations: 15.92 kB / 0.5714 GB, free: 7.891 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.614, allocations: 11.95 kB / 0.5715 GB, free: 7.879 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.6142, allocations: 196.6 kB / 0.5716 GB, free: 7.688 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6142, allocations: 4 kB / 0.5716 GB, free: 7.684 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.6146, allocations: 80 kB / 0.5717 GB, free: 7.605 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.0002073/0.6148, allocations: 121 kB / 0.5718 GB, free: 7.477 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.6154, allocations: 345.4 kB / 0.5722 GB, free: 7.129 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6154, allocations: 0 / 0.5722 GB, free: 7.129 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.6155, allocations: 87.92 kB / 0.5722 GB, free: 7.043 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.6159, allocations: 58.8 kB / 0.5723 GB, free: 6.988 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.6171, allocations: 0.6934 MB / 0.573 GB, free: 6.262 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.6175, allocations: 0.8577 MB / 0.5738 GB, free: 5.375 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.6177, allocations: 75.22 kB / 0.5739 GB, free: 5.301 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.6178, allocations: 27.42 kB / 0.5739 GB, free: 5.273 MB / 411.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6178, allocations: 3.938 kB / 0.5739 GB, free: 5.27 MB / 411.1 MB Notification: Performance of Templates: time 0.007048/0.6249, allocations: 3.124 MB / 0.577 GB, free: 2.152 MB / 411.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches