Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001326/0.001326, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001418/0.001418, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2088, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01021/0.219, allocations: 7.878 MB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.2234, allocations: 2.719 MB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004978/0.2239, allocations: 63.62 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.2252, allocations: 0.5858 MB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.2268, allocations: 0.7535 MB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.2274, allocations: 327.5 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.2296, allocations: 2.233 MB / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.231, allocations: 1.028 MB / 447.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.2321, allocations: 1.055 MB / 449 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.2337, allocations: 1.32 MB / 450.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.2341, allocations: 268 kB / 450.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.2347, allocations: 363.8 kB / 450.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007534/0.2355, allocations: 0.7674 MB / 451.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.2365, allocations: 0.9841 MB / 452.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.24, allocations: 3.562 MB / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.24, allocations: 4 kB / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.24, allocations: 0 / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.24, allocations: 4 kB / 456.3 MB, free: 14.7 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004636/0.2446, allocations: 2.478 MB / 458.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2447, allocations: 12.03 kB / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.2454, allocations: 267.4 kB / 459 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.2477, allocations: 1.234 MB / 460.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.2479, allocations: 135.9 kB / 460.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.2482, allocations: 191.9 kB / 460.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.2522, allocations: 2.475 MB / 463 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.2523, allocations: 11.95 kB / 463 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.2524, allocations: 71.98 kB / 463.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.2526, allocations: 95.5 kB / 463.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/0.256, allocations: 1.958 MB / 465.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.2662, allocations: 6.107 MB / 471.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.268, allocations: 0.9971 MB / 472.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.2695, allocations: 0.7998 MB / 473.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.2697, allocations: 40.97 kB / 473.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2698, allocations: 43.56 kB / 473.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.065e-06/0.2698, allocations: 4 kB / 473.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01356/0.2834, allocations: 5.654 MB / 478.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2834, allocations: 68.41 kB / 478.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.2849, allocations: 1.079 MB / 480 MB, free: 6.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/0.285, allocations: 45.7 kB / 480 MB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/0.2857, allocations: 0.8903 MB / 480.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.286, allocations: 384.7 kB / 481.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.2864, allocations: 222.9 kB / 481.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.2866, allocations: 357.9 kB / 481.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.2876, allocations: 0.6116 MB / 482.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.289, allocations: 0.9266 MB / 483.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.2915, allocations: 1.639 MB / 485 MB, free: 1.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2915, allocations: 4 kB / 485 MB, free: 1.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003879/0.2953, allocations: 2.141 MB / 487.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2954, allocations: 8 kB / 487.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2954, allocations: 12 kB / 487.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.2966, allocations: 468.2 kB / 487.6 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.2976, allocations: 275.5 kB / 487.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007301/0.3049, allocations: 6.597 MB / 494.5 MB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009048/0.3058, allocations: 83.98 kB / 494.6 MB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.3059, allocations: 55.92 kB / 494.6 MB, free: 7.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009502/0.3069, allocations: 0.5988 MB / 495.2 MB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.3071, allocations: 131.2 kB / 495.4 MB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.3109, allocations: 1.936 MB / 497.3 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3109, allocations: 7.922 kB / 497.3 MB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3109, allocations: 0 / 497.3 MB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006825/0.3116, allocations: 259.1 kB / 497.6 MB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.3118, allocations: 23.98 kB / 497.6 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.3125, allocations: 79.91 kB / 497.7 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.3127, allocations: 88.81 kB / 497.7 MB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004552/0.3173, allocations: 2.036 MB / 499.8 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003778/0.3211, allocations: 2.412 MB / 0.4904 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001062/0.3221, allocations: 0.6402 MB / 0.491 GB, free: 15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.3232, allocations: 0.7256 MB / 0.4918 GB, free: 14.26 MB / 414.1 MB Notification: Performance of Backend: time 2.9e-07/0.3232, allocations: 4 kB / 0.4918 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003398/0.3266, allocations: 1.54 MB / 0.4933 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 0.006411/0.333, allocations: 4.219 MB / 0.4974 GB, free: 8.398 MB / 414.1 MB Notification: Performance of Templates: time 0.04143/0.3744, allocations: 25.77 MB / 0.5226 GB, free: 14.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0920513960008975] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 0.3823070299986284 0.39695359300000005 0.153908775 Calling exit ...