Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.979/0.979, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.625e-05, allocations: 5.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004837/0.004854, allocations: 6.07 MB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.008204, allocations: 2.249 MB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.008526, allocations: 27.88 kB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.009541, allocations: 0.7886 MB / 282.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.01041, allocations: 0.6053 MB / 283.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.0111, allocations: 0.518 MB / 283.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009864/0.01209, allocations: 1.241 MB / 284.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007837/0.01287, allocations: 0.7961 MB / 285.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006086/0.01348, allocations: 0.7055 MB / 286.4 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.0139, allocations: 430.7 kB / 286.8 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000351/0.01425, allocations: 112 kB / 287 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.01465, allocations: 279.7 kB / 287.2 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.01477, allocations: 259 kB / 287.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.01501, allocations: 383.1 kB / 287.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.01582, allocations: 0.9924 MB / 288.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.01582, allocations: 0 / 288.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01582, allocations: 0 / 288.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.01583, allocations: 0 / 288.9 MB, free: 1.508 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001534/0.01737, allocations: 1.385 MB / 290.2 MB, free: 96 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.01739, allocations: 11.98 kB / 290.2 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.118/0.1354, allocations: 0.5171 MB / 290.8 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.136, allocations: 384.3 kB / 291.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.1361, allocations: 77.58 kB / 291.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.1362, allocations: 107 kB / 291.3 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.1372, allocations: 0.8288 MB / 292.1 MB, free: 19.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.1372, allocations: 2.109 kB / 292.2 MB, free: 19.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.1373, allocations: 42.91 kB / 292.2 MB, free: 19.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.1373, allocations: 28.06 kB / 292.2 MB, free: 19.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.1378, allocations: 328.2 kB / 292.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.1408, allocations: 2.411 MB / 295 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.1417, allocations: 0.6506 MB / 295.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.1421, allocations: 256.3 kB / 295.9 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.1422, allocations: 30.27 kB / 295.9 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/0.1427, allocations: 456.6 kB / 296.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.579e-06/0.1427, allocations: 1.172 kB / 296.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002127/0.1448, allocations: 0.9547 MB / 297.3 MB, free: 17.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1449, allocations: 199.2 kB / 297.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.1452, allocations: 414.5 kB / 297.9 MB, free: 17.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.1453, allocations: 45.06 kB / 297.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1455, allocations: 387 kB / 298.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1456, allocations: 286.8 kB / 298.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1458, allocations: 156 kB / 298.7 MB, free: 17.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.1459, allocations: 383 kB / 299.1 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.146, allocations: 87.77 kB / 299.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.1463, allocations: 416.4 kB / 299.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.1467, allocations: 454.8 kB / 300 MB, free: 16.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.1467, allocations: 1.469 kB / 300 MB, free: 16.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008681/0.1476, allocations: 0.563 MB / 300.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1476, allocations: 11.53 kB / 300.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.1476, allocations: 5.969 kB / 300.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.1483, allocations: 223.7 kB / 300.8 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1486, allocations: 156.3 kB / 301 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.1515, allocations: 3.596 MB / 304.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.1519, allocations: 92.12 kB / 304.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.152, allocations: 25.7 kB / 304.7 MB, free: 13.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,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 (82): * Single equations (assignments): 80 * 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.0002768/0.1522, allocations: 176.1 kB / 304.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.1523, allocations: 72.05 kB / 305 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.1531, allocations: 0.5261 MB / 305.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.1531, allocations: 13.44 kB / 305.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1531, allocations: 0 / 305.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1532, allocations: 5.25 kB / 305.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.1545, allocations: 0.9783 MB / 306.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1545, allocations: 3.938 kB / 306.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1547, allocations: 91.09 kB / 306.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.1552, allocations: 214 kB / 306.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.1552, allocations: 22.41 kB / 306.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.1575, allocations: 3.565 MB / 310.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1575, allocations: 2.75 kB / 310.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.1584, allocations: 0.7128 MB / 311.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1585, allocations: 88.8 kB / 311.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.1586, allocations: 19.59 kB / 311.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1588, allocations: 38.28 kB / 311.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.1589, allocations: 76.67 kB / 311.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.1589, allocations: 17.89 kB / 311.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.1591, allocations: 175.8 kB / 311.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1591, allocations: 0 / 311.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008664/0.1599, allocations: 313.7 kB / 311.8 MB, free: 9.871 MB / 266.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_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * 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 (57): * Single equations (assignments): 52 * 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.0002701/0.1602, allocations: 146.5 kB / 311.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.1611, allocations: 0.7631 MB / 312.7 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/0.1611, allocations: 4 kB / 312.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.1615, allocations: 0.5796 MB / 313.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1619, allocations: 120 kB / 313.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1639, allocations: 1.535 MB / 314.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.1641, allocations: 184.7 kB / 315.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.1643, allocations: 81.2 kB / 315.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.1645, allocations: 173.3 kB / 315.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of SimCode: time 1.993e-06/0.1645, allocations: 2.625 kB / 315.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of Templates: time 0.01939/0.1839, allocations: 12.48 MB / 327.9 MB, free: 10.24 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.918362393975258]