Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 111.6 kB / 17.28 MB, free: 6.199 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.002211/0.002211, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.194/2.194, allocations: 222.9 MB / 241.9 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2695/0.2695, allocations: 38.02 MB / 330.1 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003171/0.003172, allocations: 64.77 kB / 399 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1825, allocations: 58.06 MB / 457 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01824/0.2008, allocations: 7.518 MB / 464.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008113/0.209, allocations: 2.352 MB / 466.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2102, allocations: 43.75 kB / 466.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.2129, allocations: 481 kB / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.2157, allocations: 0.5215 MB / 467.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.2175, allocations: 315.5 kB / 468.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.2202, allocations: 1.302 MB / 469.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.2222, allocations: 0.7597 MB / 470.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.2239, allocations: 0.5488 MB / 470.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2261, allocations: 0.7674 MB / 471.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006651/0.2268, allocations: 108 kB / 471.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.2294, allocations: 0.6396 MB / 472.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.2307, allocations: 490.9 kB / 472.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.2324, allocations: 0.5212 MB / 473.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.2351, allocations: 1.185 MB / 474.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2351, allocations: 0 / 474.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.2351, allocations: 0 / 474.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-05/0.2352, allocations: 0 / 474.5 MB, free: 6.777 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.007325/0.2425, allocations: 1.371 MB / 475.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.339e-05/0.2426, allocations: 11.89 kB / 475.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2441, allocations: 139.7 kB / 476.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.2466, allocations: 0.6648 MB / 476.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.2471, allocations: 179.6 kB / 476.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004888/0.2476, allocations: 83.92 kB / 477 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/0.2527, allocations: 1.41 MB / 478.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.2528, allocations: 0 / 478.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.2531, allocations: 35.98 kB / 478.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004537/0.2535, allocations: 85.88 kB / 478.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00588/0.2594, allocations: 1.518 MB / 480 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.2739, allocations: 4.435 MB / 484.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/0.2786, allocations: 1.194 MB / 485.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/0.2815, allocations: 0.7734 MB / 486.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.2817, allocations: 12.64 kB / 486.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.2818, allocations: 39.22 kB / 486.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 7.183e-06/0.2819, allocations: 4 kB / 486.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.0148/0.2967, allocations: 3.854 MB / 490.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.2968, allocations: 86.11 kB / 490.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.2978, allocations: 397.9 kB / 490.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.2979, allocations: 37.7 kB / 490.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.2984, allocations: 348.3 kB / 491.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006241/0.2991, allocations: 350.8 kB / 491.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/0.2997, allocations: 162.6 kB / 491.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003096/0.3, allocations: 386.8 kB / 492.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.3023, allocations: 0.5952 MB / 492.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.307, allocations: 0.7386 MB / 493.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004741/0.3118, allocations: 1.391 MB / 494.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.3119, allocations: 0 / 494.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006218/0.3181, allocations: 1.6 MB / 496.4 MB, free: 352 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.3182, allocations: 4 kB / 496.4 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.3183, allocations: 4 kB / 496.4 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.3186, allocations: 45.03 kB / 496.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005349/0.324, allocations: 0.5031 MB / 496.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.3371, allocations: 6.698 MB / 0.4918 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.3385, allocations: 83.89 kB / 0.4919 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/0.3388, allocations: 32 kB / 0.4919 GB, free: 8.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009273/0.3397, allocations: 313.5 kB / 0.4922 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.3401, allocations: 67.23 kB / 0.4923 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/0.3461, allocations: 1.596 MB / 0.4939 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.902e-05/0.3462, allocations: 31.98 kB / 0.4939 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.3463, allocations: 0 / 0.4939 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.3463, allocations: 3.984 kB / 0.4939 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/0.356, allocations: 2.876 MB / 0.4967 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.3561, allocations: 4 kB / 0.4967 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005992/0.3621, allocations: 0.5307 MB / 0.4972 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.3624, allocations: 40.84 kB / 0.4973 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/0.3627, allocations: 23.98 kB / 0.4973 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.365, allocations: 1.63 MB / 0.4989 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.365, allocations: 0 / 0.4989 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008306/0.3733, allocations: 2.55 MB / 0.5014 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.3737, allocations: 136.3 kB / 0.5015 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.3741, allocations: 16 kB / 0.5015 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.3755, allocations: 71.91 kB / 0.5016 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004249/0.3759, allocations: 80.48 kB / 0.5017 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.3761, allocations: 23.98 kB / 0.5017 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.3768, allocations: 279.1 kB / 0.502 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.3768, allocations: 0 / 0.502 GB, free: 13.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001809/0.3787, allocations: 240 kB / 0.5022 GB, free: 13.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006415/0.3793, allocations: 176.8 kB / 0.5024 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01066/0.39, allocations: 2.33 MB / 0.5046 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.3901, allocations: 4.062 kB / 0.5046 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006278/0.3964, allocations: 1.186 MB / 0.5058 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.3985, allocations: 148.2 kB / 0.5059 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.4097, allocations: 3.04 MB / 0.5089 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.4111, allocations: 1.08 MB / 0.51 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/0.4122, allocations: 71.38 kB / 0.51 GB, free: 5.426 MB / 398.1 MB Notification: Performance of SimCode: time 1.873e-06/0.4122, allocations: 0 / 0.51 GB, free: 5.426 MB / 398.1 MB Notification: Performance of Templates: time 0.4021/0.8144, allocations: 23.85 MB / 0.5333 GB, free: 63.2 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches