Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.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.0009776/0.0009776, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001075/0.001075, allocations: 163.9 kB / 25.69 MB, free: 8.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9345/0.9345, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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 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(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.692e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005165/0.005182, allocations: 6.053 MB / 257.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.00858, allocations: 2.196 MB / 259.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.008938, allocations: 27.88 kB / 259.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.009989, allocations: 0.7885 MB / 260.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.0111, allocations: 0.6208 MB / 261.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.01178, allocations: 0.4907 MB / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008866/0.01267, allocations: 1.237 MB / 263 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.01337, allocations: 0.7883 MB / 263.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.0139, allocations: 0.7016 MB / 264.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.01432, allocations: 434.7 kB / 264.9 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01442, allocations: 108 kB / 265 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.01479, allocations: 283.6 kB / 265.3 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.01493, allocations: 255.1 kB / 265.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.01517, allocations: 379 kB / 265.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.01593, allocations: 0.9769 MB / 266.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.01594, allocations: 0 / 266.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01594, allocations: 0 / 266.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.01595, allocations: 0 / 266.9 MB, free: 7.809 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.001586/0.01753, allocations: 1.381 MB / 268.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01757, allocations: 15.98 kB / 268.3 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.01937, allocations: 0.6446 MB / 268.9 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.01984, allocations: 375.1 kB / 269.3 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.01988, allocations: 78.34 kB / 269.4 MB, free: 5.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.01997, allocations: 108.4 kB / 269.5 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.02075, allocations: 0.8519 MB / 270.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.02077, allocations: 192 / 270.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.02083, allocations: 47.94 kB / 270.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.02084, allocations: 27.98 kB / 270.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.02127, allocations: 357.6 kB / 270.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.02397, allocations: 2.465 MB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/0.0248, allocations: 0.7264 MB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.0251, allocations: 255.5 kB / 274.2 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.9e-05/0.02516, allocations: 24.64 kB / 274.2 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.02551, allocations: 463.4 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 1.884e-06/0.02552, allocations: 0 / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.002068/0.02758, allocations: 0.9716 MB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.02766, allocations: 200.8 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.02795, allocations: 407 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.028, allocations: 41.7 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.02819, allocations: 405.5 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.02834, allocations: 297.5 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.02851, allocations: 170.5 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.02862, allocations: 378.6 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.02875, allocations: 89.95 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.02903, allocations: 455.3 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.02948, allocations: 0.4971 MB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.02948, allocations: 4 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0007071/0.03019, allocations: 0.6 MB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.03021, allocations: 8 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.03022, allocations: 4 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.03076, allocations: 245.8 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.03111, allocations: 171.7 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.03377, allocations: 3.595 MB / 283.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.03408, allocations: 107.4 kB / 283.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.03411, allocations: 24 kB / 283.3 MB, free: 6.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.0343, allocations: 176.5 kB / 283.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.03438, allocations: 71.86 kB / 283.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.03504, allocations: 0.5318 MB / 284 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.03505, allocations: 12 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.03505, allocations: 3.938 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.03506, allocations: 7.984 kB / 284.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.03626, allocations: 0.9784 MB / 285 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.03626, allocations: 3.938 kB / 285 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.03649, allocations: 99.88 kB / 285.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.03695, allocations: 237.4 kB / 285.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.03698, allocations: 19.98 kB / 285.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.03932, allocations: 3.572 MB / 289 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.03933, allocations: 0 / 289 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.04011, allocations: 0.7223 MB / 289.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.04025, allocations: 91.36 kB / 289.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.04031, allocations: 20 kB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.0405, allocations: 31.98 kB / 289.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.04064, allocations: 84.78 kB / 289.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.04066, allocations: 16 kB / 289.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.04079, allocations: 168.7 kB / 290.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04079, allocations: 0 / 290.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007001/0.04149, allocations: 319.3 kB / 290.4 MB, free: 15.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002022/0.0417, allocations: 140.3 kB / 290.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008421/0.04254, allocations: 0.7773 MB / 291.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.04255, allocations: 4 kB / 291.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.04303, allocations: 0.5817 MB / 291.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.04336, allocations: 122.2 kB / 292 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.04546, allocations: 1.565 MB / 293.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.0456, allocations: 188.7 kB / 293.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.0458, allocations: 85.31 kB / 293.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.04605, allocations: 177.3 kB / 294 MB, free: 11.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04605, allocations: 0 / 294 MB, free: 11.43 MB / 282.7 MB Notification: Performance of Templates: time 0.01502/0.06107, allocations: 12.37 MB / 306.4 MB, free: 15.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9140765010379255]