Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 149.7 kB / 24.9 MB, free: 8.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8942/0.8942, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.7 MB " [Timeout remaining time 179] 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(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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.325e-05, allocations: 5.828 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.01548/0.01549, allocations: 6.015 MB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004238/0.01973, allocations: 2.14 MB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006118/0.02034, allocations: 31.88 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.02157, allocations: 0.7691 MB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.0229, allocations: 0.7646 MB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.02363, allocations: 498.5 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.02472, allocations: 1.21 MB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009454/0.02567, allocations: 0.7961 MB / 280.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.02631, allocations: 0.6821 MB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.0268, allocations: 426.8 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.02692, allocations: 108 kB / 281.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.02735, allocations: 267.6 kB / 282.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.02749, allocations: 255 kB / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.02774, allocations: 379 kB / 282.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009274/0.02867, allocations: 0.9691 MB / 283.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.02867, allocations: 0 / 283.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02867, allocations: 0 / 283.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.02869, allocations: 0 / 283.8 MB, free: 6.621 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.001706/0.0304, allocations: 1.358 MB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.03043, allocations: 12.92 kB / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.03169, allocations: 0.512 MB / 285.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.03214, allocations: 359.2 kB / 286 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.03219, allocations: 78.38 kB / 286.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.03228, allocations: 104.4 kB / 286.2 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.03302, allocations: 0.8203 MB / 287 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.03304, allocations: 4.188 kB / 287 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.03309, allocations: 48.11 kB / 287.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.0331, allocations: 24 kB / 287.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.03352, allocations: 325.7 kB / 287.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.03614, allocations: 2.387 MB / 289.8 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09819/0.1343, allocations: 0.6528 MB / 290.5 MB, free: 23.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.1348, allocations: 259 kB / 290.7 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/0.1348, allocations: 22.95 kB / 290.7 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.1352, allocations: 459.7 kB / 291.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.063e-06/0.1352, allocations: 0 / 291.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001942/0.1372, allocations: 0.9666 MB / 292.1 MB, free: 22.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1372, allocations: 198.3 kB / 292.3 MB, free: 22.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1375, allocations: 391.3 kB / 292.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.1375, allocations: 42.67 kB / 292.8 MB, free: 22.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1377, allocations: 381.4 kB / 293.1 MB, free: 22.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1378, allocations: 293.1 kB / 293.4 MB, free: 22.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.138, allocations: 156.4 kB / 293.6 MB, free: 22.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.1381, allocations: 377.2 kB / 293.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1382, allocations: 90.11 kB / 294 MB, free: 21.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.1384, allocations: 408.6 kB / 294.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.1388, allocations: 457.9 kB / 294.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1388, allocations: 2.922 kB / 294.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0006844/0.1395, allocations: 0.5599 MB / 295.4 MB, free: 21.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1395, allocations: 15.66 kB / 295.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1395, allocations: 5.438 kB / 295.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.14, allocations: 238.9 kB / 295.7 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.1403, allocations: 148.8 kB / 295.8 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.1426, allocations: 3.605 MB / 299.4 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1428, allocations: 86.83 kB / 299.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.1429, allocations: 27.39 kB / 299.6 MB, free: 18.46 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.0001454/0.143, allocations: 176.8 kB / 299.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.1431, allocations: 69.75 kB / 299.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.1438, allocations: 0.5294 MB / 300.3 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1438, allocations: 10.09 kB / 300.3 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1438, allocations: 0.7031 kB / 300.3 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.1438, allocations: 4.125 kB / 300.3 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.145, allocations: 0.9806 MB / 301.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.145, allocations: 1.188 kB / 301.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.1452, allocations: 92.97 kB / 301.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.1456, allocations: 230.5 kB / 301.6 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.1457, allocations: 21.8 kB / 301.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.1475, allocations: 3.562 MB / 305.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1475, allocations: 1.375 kB / 305.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.1482, allocations: 0.7195 MB / 305.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1484, allocations: 83.23 kB / 306 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.1484, allocations: 19.72 kB / 306 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1486, allocations: 39.38 kB / 306.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1487, allocations: 69.67 kB / 306.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.1487, allocations: 19.39 kB / 306.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1488, allocations: 161 kB / 306.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1488, allocations: 4 kB / 306.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006281/0.1495, allocations: 313.4 kB / 306.6 MB, free: 15.07 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.0001669/0.1496, allocations: 143.4 kB / 306.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.1503, allocations: 0.7541 MB / 307.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.1503, allocations: 7.031 kB / 307.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.1506, allocations: 0.5843 MB / 308.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1509, allocations: 117.2 kB / 308.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1526, allocations: 1.524 MB / 309.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.1527, allocations: 185 kB / 309.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.1528, allocations: 71.69 kB / 310 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.153, allocations: 172.4 kB / 310.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.153, allocations: 0 / 310.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Templates: time 0.01235/0.1654, allocations: 12.25 MB / 322.4 MB, free: 3.578 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.782271987758577]