Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,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.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,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.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 181.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009552/0.000955, allocations: 92.14 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1615/0.1615, allocations: 38.06 MB / 357.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2615, allocations: 56.31 MB / 480.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.3873, allocations: 96.59 MB / 0.5634 GB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.3876, allocations: 87.95 kB / 0.5635 GB, free: 5.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03453/0.4222, allocations: 12.54 MB / 0.5757 GB, free: 9.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4222, allocations: 0 / 0.5757 GB, free: 9.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.4222, allocations: 8 kB / 0.5757 GB, free: 9.008 MB / 410.7 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.001083/0.4233, allocations: 0.6606 MB / 0.5764 GB, free: 8.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4234, allocations: 8.031 kB / 0.5764 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.424, allocations: 99.31 kB / 0.5765 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.4261, allocations: 0.8607 MB / 0.5773 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.4262, allocations: 32.92 kB / 0.5773 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.4263, allocations: 39.91 kB / 0.5774 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.427, allocations: 468.8 kB / 0.5778 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.427, allocations: 3.938 kB / 0.5778 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.427, allocations: 12 kB / 0.5778 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.4271, allocations: 28.95 kB / 0.5779 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.4276, allocations: 331.7 kB / 0.5782 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.4297, allocations: 1.702 MB / 0.5798 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.43, allocations: 149.1 kB / 0.58 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.43, allocations: 8.219 kB / 0.58 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.43, allocations: 34.62 kB / 0.58 GB, free: 4.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.4301, allocations: 0 / 0.58 GB, free: 4.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001353/0.4314, allocations: 0.8546 MB / 0.5809 GB, free: 3.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4315, allocations: 81.11 kB / 0.5809 GB, free: 3.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.4317, allocations: 271.6 kB / 0.5812 GB, free: 3.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.4318, allocations: 33.7 kB / 0.5812 GB, free: 2.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4319, allocations: 243.7 kB / 0.5815 GB, free: 2.746 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.432, allocations: 70.14 kB / 0.5815 GB, free: 2.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.432, allocations: 4 kB / 0.5815 GB, free: 2.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4321, allocations: 346.8 kB / 0.5819 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.4323, allocations: 92.23 kB / 0.5819 GB, free: 2.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.4325, allocations: 204.7 kB / 0.5821 GB, free: 1.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.4326, allocations: 128.6 kB / 0.5823 GB, free: 1.867 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4326, allocations: 0 / 0.5823 GB, free: 1.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008135/0.4335, allocations: 464.5 kB / 0.5827 GB, free: 1.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4335, allocations: 4 kB / 0.5827 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005563/0.4341, allocations: 284.5 kB / 0.583 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.4345, allocations: 132.9 kB / 0.5831 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.4347, allocations: 55.91 kB / 0.5832 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.4372, allocations: 2.196 MB / 0.5853 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.4374, allocations: 11.98 kB / 0.5853 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4374, allocations: 16 kB / 0.5853 GB, free: 14.58 MB / 426.7 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 (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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.4376, allocations: 185.7 kB / 0.5855 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.4377, allocations: 31.62 kB / 0.5855 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.4381, allocations: 253.4 kB / 0.5858 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4381, allocations: 0 / 0.5858 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.4381, allocations: 0 / 0.5858 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4381, allocations: 4 kB / 0.5858 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4392, allocations: 0.7231 MB / 0.5865 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4392, allocations: 4.062 kB / 0.5865 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4394, allocations: 47.91 kB / 0.5865 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.4395, allocations: 24.84 kB / 0.5866 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.4396, allocations: 11.94 kB / 0.5866 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.4407, allocations: 1.493 MB / 0.588 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4407, allocations: 0 / 0.588 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.4413, allocations: 463.9 kB / 0.5885 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.4414, allocations: 96.83 kB / 0.5886 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.4414, allocations: 8.047 kB / 0.5886 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.4417, allocations: 15.92 kB / 0.5886 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.4417, allocations: 15.94 kB / 0.5886 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.4417, allocations: 8 kB / 0.5886 GB, free: 10.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.442, allocations: 215 kB / 0.5888 GB, free: 10.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.442, allocations: 4 kB / 0.5888 GB, free: 10.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005002/0.4425, allocations: 92 kB / 0.5889 GB, free: 10.63 MB / 426.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.4427, allocations: 131.1 kB / 0.589 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.4434, allocations: 395 kB / 0.5894 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4434, allocations: 7.938 kB / 0.5894 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.4437, allocations: 223.3 kB / 0.5896 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4441, allocations: 61.86 kB / 0.5897 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4455, allocations: 1.071 MB / 0.5907 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.4459, allocations: 0.8538 MB / 0.5916 GB, free: 7.809 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.4461, allocations: 58.92 kB / 0.5916 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.4462, allocations: 31.38 kB / 0.5917 GB, free: 7.723 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4462, allocations: 0 / 0.5917 GB, free: 7.723 MB / 426.7 MB Notification: Performance of Templates: time 0.00806/0.4543, allocations: 3.864 MB / 0.5954 GB, free: 3.867 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches