Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.001268/0.001268, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001407/0.001407, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.376/1.376, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.02 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2064, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.02904/0.2354, allocations: 25.54 MB / 457.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.2485, allocations: 6.975 MB / 464.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.2515, allocations: 163.4 kB / 464.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.255, allocations: 1.712 MB / 466.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004979/0.2599, allocations: 2.357 MB / 468.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.263, allocations: 1.503 MB / 470.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.2734, allocations: 10.05 MB / 480.4 MB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00585/0.2792, allocations: 4.611 MB / 485 MB, free: 2.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.2846, allocations: 4.748 MB / 489.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007282/0.2919, allocations: 5.726 MB / 495.5 MB, free: 7.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.2936, allocations: 1.305 MB / 496.8 MB, free: 6.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.296, allocations: 1.523 MB / 498.3 MB, free: 4.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.2987, allocations: 2.984 MB / 0.4895 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00551/0.3042, allocations: 5.473 MB / 0.4949 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.3208, allocations: 17.24 MB / 0.5117 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3208, allocations: 0 / 0.5117 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3208, allocations: 0 / 0.5117 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.321, allocations: 4 kB / 0.5117 GB, free: 11.07 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02422/0.3453, allocations: 10.97 MB / 0.5224 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3453, allocations: 16.03 kB / 0.5225 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.3563, allocations: 2.122 MB / 0.5245 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.3674, allocations: 6.063 MB / 0.5304 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/0.3678, allocations: 0.5904 MB / 0.531 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.3691, allocations: 0.7889 MB / 0.5318 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3256/0.6947, allocations: 11.35 MB / 0.5429 GB, free: 86.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.6948, allocations: 12.97 kB / 0.5429 GB, free: 86.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006815/0.6955, allocations: 330.9 kB / 0.5432 GB, free: 86.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.6957, allocations: 375.7 kB / 0.5436 GB, free: 86.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.7085, allocations: 9.916 MB / 0.5532 GB, free: 81.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03652/0.7451, allocations: 34.34 MB / 0.5868 GB, free: 53.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/0.7595, allocations: 20.73 MB / 0.607 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005992/0.7655, allocations: 4.147 MB / 0.6111 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.7791, allocations: 10.65 MB / 0.6215 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.7792, allocations: 77 kB / 0.6215 GB, free: 15.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 4.468e-06/0.7792, allocations: 0 / 0.6215 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=325): time 0.02667/0.8058, allocations: 15.83 MB / 0.637 GB, free: 15.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.8059, allocations: 89.97 kB / 0.6371 GB, free: 15.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006424/0.8123, allocations: 4.584 MB / 0.6416 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.8125, allocations: 81.7 kB / 0.6416 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002737/0.8152, allocations: 3.709 MB / 0.6453 GB, free: 7.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009466/0.8162, allocations: 1.15 MB / 0.6464 GB, free: 6.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.8173, allocations: 0.7047 MB / 0.6471 GB, free: 5.359 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8174, allocations: 301.1 kB / 0.6474 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.8205, allocations: 1.889 MB / 0.6492 GB, free: 3.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/0.8246, allocations: 2.987 MB / 0.6521 GB, free: 15.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007612/0.8322, allocations: 5.111 MB / 0.6571 GB, free: 10.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.8322, allocations: 8 kB / 0.6571 GB, free: 10.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01081/0.843, allocations: 6.43 MB / 0.6634 GB, free: 3.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.843, allocations: 20 kB / 0.6634 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/0.8431, allocations: 32 kB / 0.6635 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.8456, allocations: 1.025 MB / 0.6645 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.8488, allocations: 0.8112 MB / 0.6653 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.8688, allocations: 17.89 MB / 0.6827 GB, free: 14.84 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.8715, allocations: 183.9 kB / 0.6829 GB, free: 14.66 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.8718, allocations: 164 kB / 0.6831 GB, free: 14.5 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 425 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * 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): 7 systems {(1,8,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,24,93.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004303/0.8761, allocations: 2.62 MB / 0.6856 GB, free: 11.86 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/0.8768, allocations: 496.9 kB / 0.6861 GB, free: 11.38 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.8875, allocations: 5.934 MB / 0.6919 GB, free: 5.324 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.8876, allocations: 15.94 kB / 0.6919 GB, free: 5.309 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8876, allocations: 0 / 0.6919 GB, free: 5.309 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/0.8897, allocations: 1.002 MB / 0.6929 GB, free: 4.285 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006226/0.8903, allocations: 75.98 kB / 0.6929 GB, free: 4.211 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/0.8923, allocations: 151.9 kB / 0.6931 GB, free: 4.062 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006174/0.8929, allocations: 377.9 kB / 0.6935 GB, free: 3.691 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01293/0.9058, allocations: 5.957 MB / 0.6993 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009977/0.9158, allocations: 6.613 MB / 0.7057 GB, free: 7.031 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002916/0.9187, allocations: 1.937 MB / 0.7076 GB, free: 5.082 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004582/0.9233, allocations: 3.136 MB / 0.7107 GB, free: 1.949 MB / 0.5138 GB Notification: Performance of Backend: time 1.9e-07/0.9233, allocations: 0 / 0.7107 GB, free: 1.949 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.007929/0.9312, allocations: 4.312 MB / 0.7149 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02408/0.9553, allocations: 15.96 MB / 0.7305 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Templates: time 0.2846/1.24, allocations: 83.27 MB / 0.8118 GB, free: 137 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.193244189955294] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc3.is[1]', 'aimc3.is[2]', 'aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimcM.is[1]', 'aimcM.is[2]', 'aimcM.is[3]', 'aimcM.is[4]', 'aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'loadInertia3.phi', 'loadInertia3.w', 'loadInertiaM.phi', 'loadInertiaM.w'] 1.247767933178693 1.256037397 0.933052278 Calling exit ...