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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9452/0.9452, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2294/0.2294, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.355e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006325/0.006349, allocations: 6.376 MB / 436.6 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.00985, allocations: 2.025 MB / 438.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005653/0.01042, allocations: 31.69 kB / 438.6 MB, free: 5.125 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01161, allocations: 0.5014 MB / 439.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.01355, allocations: 0.5789 MB / 439.7 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.01436, allocations: 370.9 kB / 440.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.01571, allocations: 1.317 MB / 441.4 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000638/0.01635, allocations: 0.541 MB / 441.9 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/0.01733, allocations: 0.7558 MB / 442.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000779/0.0181, allocations: 0.7015 MB / 443.4 MB, free: 348 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.01823, allocations: 107.9 kB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2053/0.2235, allocations: 0.6008 MB / 444.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.2241, allocations: 0.5013 MB / 444.6 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.2245, allocations: 393.7 kB / 445 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2256, allocations: 1.628 MB / 446.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2256, allocations: 3.469 kB / 446.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2256, allocations: 1.625 kB / 446.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2256, allocations: 0 / 446.6 MB, free: 44.89 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001616/0.2272, allocations: 1.314 MB / 447.9 MB, free: 44.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2272, allocations: 13.58 kB / 448 MB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.2274, allocations: 143.4 kB / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.2278, allocations: 183.6 kB / 448.3 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.2286, allocations: 0.6193 MB / 448.9 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.2287, allocations: 330.3 kB / 449.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2288, allocations: 86.75 kB / 449.3 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2301, allocations: 1.414 MB / 450.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2301, allocations: 4.5 kB / 450.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.2302, allocations: 29.36 kB / 450.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.2303, allocations: 85.52 kB / 450.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.2318, allocations: 1.512 MB / 452.3 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.2355, allocations: 4.163 MB / 456.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.2368, allocations: 1.111 MB / 457.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.2375, allocations: 0.7049 MB / 458.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.2376, allocations: 14.88 kB / 458.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2376, allocations: 49.38 kB / 458.4 MB, free: 40.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.395e-06/0.2376, allocations: 0 / 458.4 MB, free: 40.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.003834/0.2414, allocations: 3.637 MB / 462 MB, free: 39.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2415, allocations: 87.83 kB / 462.1 MB, free: 39.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2417, allocations: 412.9 kB / 462.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.2418, allocations: 36.98 kB / 462.5 MB, free: 38.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2419, allocations: 356.8 kB / 462.9 MB, free: 38.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.242, allocations: 363.3 kB / 463.2 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2422, allocations: 159.7 kB / 463.4 MB, free: 38.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.2422, allocations: 378.3 kB / 463.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.2428, allocations: 0.5918 MB / 464.4 MB, free: 37.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.2434, allocations: 0.7438 MB / 465.1 MB, free: 37.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.2446, allocations: 1.387 MB / 466.5 MB, free: 36.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2446, allocations: 0 / 466.5 MB, free: 36.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001451/0.2461, allocations: 1.526 MB / 468 MB, free: 36.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2461, allocations: 9.438 kB / 468 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2461, allocations: 6.125 kB / 468 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.2462, allocations: 43.03 kB / 468.1 MB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.2474, allocations: 0.4888 MB / 468.6 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.2503, allocations: 6.256 MB / 474.8 MB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2506, allocations: 86.12 kB / 474.9 MB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.2506, allocations: 30.72 kB / 474.9 MB, free: 30.75 MB / 410.7 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.0003031/0.2509, allocations: 323.2 kB / 475.3 MB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.251, allocations: 71.02 kB / 475.3 MB, free: 30.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2525, allocations: 1.516 MB / 476.8 MB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.2526, allocations: 24.59 kB / 476.9 MB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2526, allocations: 4 kB / 476.9 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2526, allocations: 3.375 kB / 476.9 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.2552, allocations: 2.666 MB / 479.5 MB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.2552, allocations: 3.375 kB / 479.5 MB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.2566, allocations: 0.5358 MB / 480.1 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-05/0.2566, allocations: 36.2 kB / 480.1 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.2567, allocations: 22.75 kB / 480.1 MB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005973/0.2573, allocations: 1.53 MB / 481.7 MB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2573, allocations: 10.05 kB / 481.7 MB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.2598, allocations: 2.456 MB / 484.1 MB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.2599, allocations: 58.66 kB / 484.2 MB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.2599, allocations: 24.19 kB / 484.2 MB, free: 26.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2602, allocations: 76.53 kB / 484.3 MB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2604, allocations: 78.64 kB / 484.4 MB, free: 26.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.2604, allocations: 30 kB / 484.4 MB, free: 26.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.2606, allocations: 279.8 kB / 484.7 MB, free: 26.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2606, allocations: 0 / 484.7 MB, free: 26.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.2613, allocations: 236.4 kB / 484.9 MB, free: 26.09 MB / 410.7 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.002963/0.2643, allocations: 3.062 MB / 488 MB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.2668, allocations: 1.764 MB / 489.7 MB, free: 24.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2668, allocations: 0 / 489.7 MB, free: 24.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.2684, allocations: 1.138 MB / 490.9 MB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.269, allocations: 165 kB / 491 MB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.2793, allocations: 8.857 MB / 499.9 MB, free: 19.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.2798, allocations: 479.6 kB / 0.4886 GB, free: 19.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000575/0.2804, allocations: 276.3 kB / 0.4889 GB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.2807, allocations: 293.1 kB / 0.4892 GB, free: 19.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.2807, allocations: 1.062 kB / 0.4892 GB, free: 19.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.3122, allocations: 19.3 MB / 0.508 GB, free: 7.684 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.251, allocations: 14.73 kB / 0.508 GB, free: 7.672 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.303288668394089]