Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.001484/0.001484, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001076/0.001076, allocations: 163.8 kB / 24.99 MB, free: 8.789 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.9664/0.9664, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2283/0.2283, allocations: 29.41 MB / 291.2 MB, free: 2.512 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.235e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005639/0.005661, allocations: 6.445 MB / 376.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.007678, allocations: 1.414 MB / 377.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.007983, allocations: 35.69 kB / 377.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.008444, allocations: 150.8 kB / 377.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006741/0.009118, allocations: 449.4 kB / 378.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.009515, allocations: 215.5 kB / 378.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.01034, allocations: 1.149 MB / 379.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.01061, allocations: 213.2 kB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.01125, allocations: 0.6427 MB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.01182, allocations: 0.5261 MB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.0119, allocations: 64 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.01199, allocations: 68.05 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.01221, allocations: 343.1 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.01242, allocations: 263.5 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.01298, allocations: 0.5918 MB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01298, allocations: 0 / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01299, allocations: 3.938 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.01299, allocations: 0 / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001258/0.01425, allocations: 1.07 MB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.01429, allocations: 11.98 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.01444, allocations: 120.5 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.01508, allocations: 0.5293 MB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.01524, allocations: 224 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.01532, allocations: 60.36 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.01596, allocations: 0.5333 MB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.01598, allocations: 0 / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.01601, allocations: 20 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.23e-05/0.01611, allocations: 40.97 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.01652, allocations: 261.7 kB / 385 MB, free: 11.73 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.0188, allocations: 2.496 MB / 387.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.01944, allocations: 406.5 kB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.01962, allocations: 139.3 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.01965, allocations: 7.75 kB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.01968, allocations: 49.33 kB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.145e-06/0.01968, allocations: 0 / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.001528/0.02121, allocations: 0.937 MB / 389 MB, free: 7.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.02125, allocations: 81.11 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.02155, allocations: 414.6 kB / 389.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.02158, allocations: 29.7 kB / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.02174, allocations: 379.4 kB / 389.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.02182, allocations: 146.8 kB / 390.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.02192, allocations: 91.8 kB / 390.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.02206, allocations: 0.5352 MB / 390.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.02218, allocations: 76.95 kB / 390.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.02237, allocations: 244.2 kB / 391 MB, free: 5.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.02269, allocations: 338.7 kB / 391.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02269, allocations: 4 kB / 391.3 MB, free: 5.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005123/0.02321, allocations: 424.3 kB / 391.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02322, allocations: 8 kB / 391.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.02323, allocations: 4 kB / 391.8 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.02344, allocations: 55.28 kB / 391.8 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.02402, allocations: 227.8 kB / 392 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.02725, allocations: 7.448 MB / 399.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.02745, allocations: 27.97 kB / 399.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.02747, allocations: 20 kB / 399.5 MB, free: 12.33 MB / 378.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.02767, allocations: 184.6 kB / 399.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.02774, allocations: 59.72 kB / 399.8 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.02823, allocations: 352 kB / 400.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.02823, allocations: 7.938 kB / 400.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.02824, allocations: 7.984 kB / 400.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.02824, allocations: 0 / 400.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.02941, allocations: 0.9458 MB / 401.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02941, allocations: 0 / 401.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.03022, allocations: 235.7 kB / 401.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.03047, allocations: 75.23 kB / 401.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.03051, allocations: 8 kB / 401.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.03204, allocations: 3.751 MB / 405.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.03205, allocations: 4 kB / 405.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.03271, allocations: 0.5893 MB / 405.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.03276, allocations: 35.72 kB / 405.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.0328, allocations: 12.11 kB / 405.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.03295, allocations: 35.97 kB / 405.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.03305, allocations: 39.86 kB / 405.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.03307, allocations: 12 kB / 405.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.03325, allocations: 263.1 kB / 406.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03325, allocations: 3.938 kB / 406.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004631/0.03371, allocations: 140 kB / 406.3 MB, free: 5.215 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.03383, allocations: 115.1 kB / 406.4 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.03486, allocations: 0.7414 MB / 407.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03486, allocations: 0 / 407.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.03558, allocations: 0.6167 MB / 407.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.03604, allocations: 124 kB / 407.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.03796, allocations: 1.198 MB / 409.1 MB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.0381, allocations: 181.7 kB / 409.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.03829, allocations: 72.36 kB / 409.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.0384, allocations: 36.5 kB / 409.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of SimCode: time 3.487e-06/0.0384, allocations: 0 / 409.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of Templates: time 0.01002/0.04842, allocations: 7.275 MB / 416.6 MB, free: 10.83 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.288326608017087]