Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.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.001867/0.001867, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002231/0.002231, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2089, allocations: 53.36 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.01322/0.2221, allocations: 10.06 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005628/0.2278, allocations: 3.617 MB / 446.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005923/0.2284, allocations: 47.75 kB / 446.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.2299, allocations: 0.7373 MB / 446.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.2312, allocations: 0.7681 MB / 447.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.2325, allocations: 0.7295 MB / 448.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.2351, allocations: 2.664 MB / 451 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.2362, allocations: 0.6895 MB / 451.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.2373, allocations: 1.004 MB / 452.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.2386, allocations: 1.093 MB / 453.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003349/0.239, allocations: 260 kB / 454 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.2396, allocations: 443.8 kB / 454.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005915/0.2402, allocations: 0.5255 MB / 455 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2414, allocations: 0.9176 MB / 455.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.2458, allocations: 3.211 MB / 459.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2458, allocations: 0 / 459.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2458, allocations: 7.938 kB / 459.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.2459, allocations: 0 / 459.1 MB, free: 11.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004834/0.2507, allocations: 2.753 MB / 461.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2507, allocations: 11.97 kB / 461.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007193/0.2514, allocations: 283.4 kB / 462.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.2537, allocations: 1.167 MB / 463.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2538, allocations: 119.6 kB / 463.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.2541, allocations: 176.3 kB / 463.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.2573, allocations: 1.902 MB / 465.5 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.2573, allocations: 3.984 kB / 465.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.2575, allocations: 72 kB / 465.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.2575, allocations: 43.94 kB / 465.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.2603, allocations: 1.366 MB / 467 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008816/0.2691, allocations: 6.001 MB / 473 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.2712, allocations: 1.085 MB / 474.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2725, allocations: 0.682 MB / 474.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.404e-05/0.2725, allocations: 16.98 kB / 474.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.274, allocations: 0.8369 MB / 475.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=124): time 3.517e-06/0.274, allocations: 0 / 475.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009608/0.2836, allocations: 4.103 MB / 479.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.2838, allocations: 204.9 kB / 479.9 MB, free: 6.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.2855, allocations: 1.239 MB / 481.2 MB, free: 5.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.2856, allocations: 49.7 kB / 481.2 MB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007668/0.2864, allocations: 0.8527 MB / 482.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.2868, allocations: 408.6 kB / 482.5 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.2872, allocations: 283.5 kB / 482.8 MB, free: 3.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2873, allocations: 309.1 kB / 483.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.2884, allocations: 0.5642 MB / 483.6 MB, free: 2.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.2899, allocations: 1.068 MB / 484.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.2924, allocations: 1.509 MB / 486.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.2924, allocations: 4 kB / 486.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003604/0.296, allocations: 1.962 MB / 488.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.2961, allocations: 112.1 kB / 488.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.2961, allocations: 16.53 kB / 488.3 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.2971, allocations: 348.8 kB / 488.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.298, allocations: 247.6 kB / 488.9 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/0.3056, allocations: 6.331 MB / 495.2 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3067, allocations: 79.94 kB / 495.3 MB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3068, allocations: 60 kB / 495.3 MB, free: 6.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001626/0.3084, allocations: 0.8643 MB / 496.2 MB, free: 5.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001479/0.3099, allocations: 1.06 MB / 497.3 MB, free: 3.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002324/0.3122, allocations: 1.489 MB / 498.8 MB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.075e-06/0.3122, allocations: 4 kB / 498.8 MB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003403/0.3156, allocations: 1.943 MB / 0.489 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.12e-05/0.3157, allocations: 109 kB / 0.4891 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3158, allocations: 16 kB / 0.4891 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009694/0.3167, allocations: 345.7 kB / 0.4894 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.3176, allocations: 239.7 kB / 0.4897 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.3249, allocations: 6.323 MB / 0.4958 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3259, allocations: 79.95 kB / 0.4959 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.3261, allocations: 64.06 kB / 0.496 GB, free: 8.711 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 47 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition4,$whenCondition3,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,dutyCycleTable.nextEventScaled,dutyCycleTable.nextEvent,$PRE.dutyCycleTable.nextEvent,dutyCycleTable.last,dutyCycleTable.b,dutyCycleTable.a,torqueTable.nextEventScaled,torqueTable.nextEvent,$PRE.torqueTable.nextEvent,torqueTable.last,torqueTable.b,torqueTable.a,signalPWM.triangle.count,$PRE.signalPWM.triangle.count,signalPWM.triangle.T_start,$PRE.signalPWM.triangle.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,hbridge.not_n.y,hbridge.not_p.y,hbridge.inverter_n.diode_n.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_p.diode_n.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.andCondition_p.y,hbridge.fire_p,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000438/0.3265, allocations: 364.4 kB / 0.4963 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.3267, allocations: 166.9 kB / 0.4965 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/0.3301, allocations: 1.672 MB / 0.4981 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.3301, allocations: 11.97 kB / 0.4981 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3301, allocations: 0 / 0.4981 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.3308, allocations: 270.8 kB / 0.4984 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.331, allocations: 36 kB / 0.4984 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/0.3317, allocations: 56.06 kB / 0.4985 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.3319, allocations: 104.8 kB / 0.4986 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004156/0.3361, allocations: 1.888 MB / 0.5004 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003891/0.34, allocations: 2.297 MB / 0.5026 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001048/0.341, allocations: 0.5541 MB / 0.5032 GB, free: 1.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.3422, allocations: 0.8097 MB / 0.504 GB, free: 308 kB / 414.1 MB Notification: Performance of Backend: time 2.2e-07/0.3422, allocations: 0 / 0.504 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0056/0.3478, allocations: 3.192 MB / 0.5071 GB, free: 12.92 MB / 430.1 MB Notification: Performance of SimCode: time 0.005769/0.3536, allocations: 3.839 MB / 0.5108 GB, free: 9.004 MB / 430.1 MB Notification: Performance of Templates: time 0.2133/0.5669, allocations: 33.03 MB / 0.5431 GB, free: 103.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 26.068388333995244] Failed to read output from testmodel.py, exit status != 0: ['time', 'hbridge.vDC1', 'hbridge.iDC1', 'hbridge.vDC2', 'hbridge.iDC2', 'meanCurrent.y', 'meanVoltage.y', 'dcpm.inertiaRotor.phi', 'dcpm.inertiaRotor.w', 'inductor.i'] 0.574636011995608 0.583434699 0.33545568000000003 Calling exit ...