Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.0007848/0.0007848, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001414/0.001414, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9311/0.9311, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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(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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 273.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.782e-05, allocations: 6.609 kB / 273.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008188/0.008216, allocations: 6.057 MB / 279.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005079/0.01329, allocations: 2.249 MB / 281.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008829/0.01418, allocations: 27.88 kB / 281.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.01596, allocations: 0.7808 MB / 282.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.01807, allocations: 0.609 MB / 283.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.01928, allocations: 0.5219 MB / 283.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.02111, allocations: 1.23 MB / 285 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.0227, allocations: 0.7962 MB / 285.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.0237, allocations: 0.6937 MB / 286.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.02434, allocations: 422.8 kB / 286.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.0245, allocations: 116 kB / 287 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.02516, allocations: 291.6 kB / 287.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.02535, allocations: 263 kB / 287.5 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.02573, allocations: 375 kB / 287.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.0271, allocations: 0.9924 MB / 288.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.02711, allocations: 0 / 288.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02711, allocations: 0 / 288.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.02713, allocations: 4 kB / 288.9 MB, free: 4.895 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.002425/0.02955, allocations: 1.396 MB / 290.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.0296, allocations: 8.031 kB / 290.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.03201, allocations: 0.5159 MB / 290.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.03269, allocations: 383 kB / 291.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.03276, allocations: 78.36 kB / 291.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.03289, allocations: 104.4 kB / 291.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.03401, allocations: 0.8281 MB / 292.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.03404, allocations: 192 / 292.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.03411, allocations: 48.12 kB / 292.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.03413, allocations: 24 kB / 292.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.03473, allocations: 325.7 kB / 292.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.03851, allocations: 2.407 MB / 295 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.0397, allocations: 0.6552 MB / 295.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.04018, allocations: 260.2 kB / 295.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.04028, allocations: 32.62 kB / 295.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.04082, allocations: 459.5 kB / 296.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 4.288e-06/0.04083, allocations: 0 / 296.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=84): time 0.002657/0.04349, allocations: 0.952 MB / 297.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.04358, allocations: 204.8 kB / 297.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.04401, allocations: 415 kB / 297.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.04406, allocations: 45.83 kB / 298 MB, free: 11.44 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.0443, allocations: 381.6 kB / 298.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.04452, allocations: 289.5 kB / 298.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.04474, allocations: 158.5 kB / 298.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.04487, allocations: 382.6 kB / 299.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.04504, allocations: 81.97 kB / 299.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.04537, allocations: 418 kB / 299.7 MB, free: 9.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/0.04616, allocations: 463.9 kB / 300.1 MB, free: 9.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.04617, allocations: 0 / 300.1 MB, free: 9.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0009898/0.04716, allocations: 0.5608 MB / 300.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.04718, allocations: 8 kB / 300.7 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.0472, allocations: 4.5 kB / 300.7 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.04791, allocations: 229.4 kB / 300.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.04835, allocations: 147.8 kB / 301.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/0.05217, allocations: 3.591 MB / 304.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.05273, allocations: 91.53 kB / 304.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.05278, allocations: 23.98 kB / 304.8 MB, free: 4.273 MB / 282.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.0003626/0.05314, allocations: 173 kB / 304.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.05326, allocations: 75.92 kB / 305 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.05424, allocations: 0.5353 MB / 305.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.05425, allocations: 12 kB / 305.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.05425, allocations: 0 / 305.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.05426, allocations: 7.984 kB / 305.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.05597, allocations: 0.9706 MB / 306.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.05598, allocations: 3.938 kB / 306.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.05628, allocations: 99.91 kB / 306.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006109/0.05689, allocations: 217.4 kB / 306.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.05707, allocations: 19.98 kB / 306.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.06023, allocations: 3.559 MB / 310.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.06024, allocations: 4.031 kB / 310.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.06135, allocations: 0.7146 MB / 311.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.06158, allocations: 95.41 kB / 311.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.06165, allocations: 19.98 kB / 311.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.06195, allocations: 39.92 kB / 311.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.06211, allocations: 68.86 kB / 311.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.06215, allocations: 23.98 kB / 311.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001905/0.06234, allocations: 172.4 kB / 311.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06234, allocations: 0 / 311.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001032/0.06337, allocations: 315.3 kB / 311.9 MB, free: 12.92 MB / 298.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.0002527/0.06362, allocations: 140.2 kB / 312 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.06466, allocations: 0.7657 MB / 312.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.06467, allocations: 4 kB / 312.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.06531, allocations: 0.5784 MB / 313.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.06579, allocations: 122.1 kB / 313.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.06867, allocations: 1.525 MB / 315 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.06885, allocations: 188.6 kB / 315.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.06912, allocations: 73.2 kB / 315.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.06945, allocations: 181.2 kB / 315.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of SimCode: time 1.263e-06/0.06945, allocations: 0 / 315.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of Templates: time 0.02182/0.09127, allocations: 12.47 MB / 327.9 MB, free: 12.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8968292749486864]