Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009395, allocations: 95.23 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008431/0.0008434, allocations: 175.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 8 kB / 280.8 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 47.59 MB / 328.3 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03338/0.14, allocations: 31.08 MB / 359.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0231/0.1631, allocations: 8.819 MB / 368.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007566/0.1708, allocations: 195.2 kB / 368.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008261/0.179, allocations: 2.111 MB / 370.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01486/0.194, allocations: 3.375 MB / 373.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006973/0.201, allocations: 1.868 MB / 375.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2214/0.4224, allocations: 13.55 MB / 389.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03336/0.4558, allocations: 21.53 MB / 410.9 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008208/0.464, allocations: 4.676 MB / 415.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.4745, allocations: 5.758 MB / 421.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005863/0.4804, allocations: 0.8375 MB / 422.1 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00677/0.4872, allocations: 1.124 MB / 423.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004225/0.4915, allocations: 2.45 MB / 425.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01084/0.5023, allocations: 5.723 MB / 431.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03159/0.5339, allocations: 23.53 MB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.534, allocations: 0 / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.534, allocations: 0 / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007838/0.5348, allocations: 0 / 455 MB, free: 15.89 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03727/0.5721, allocations: 12.37 MB / 467.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5721, allocations: 12.03 kB / 467.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04358/0.6157, allocations: 7.768 MB / 475.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.6322, allocations: 7.305 MB / 482.4 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009608/0.6332, allocations: 0.8086 MB / 483.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004513/0.6377, allocations: 1.067 MB / 484.3 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05084/0.6886, allocations: 17.69 MB / 0.4902 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004452/0.6891, allocations: 10.53 kB / 0.4902 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003432/0.6925, allocations: 449.3 kB / 0.4907 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007188/0.6933, allocations: 0.6553 MB / 0.4913 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/0.7309, allocations: 17 MB / 0.5079 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4844/1.215, allocations: 57.33 MB / 0.5639 GB, free: 116.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03304/1.248, allocations: 40.05 MB / 0.603 GB, free: 79.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008938/1.257, allocations: 4.516 MB / 0.6074 GB, free: 78.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0214/1.279, allocations: 12.73 MB / 0.6198 GB, free: 69.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/1.279, allocations: 80.44 kB / 0.6199 GB, free: 69.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.24e-06/1.279, allocations: 0 / 0.6199 GB, free: 69.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04331/1.322, allocations: 21.56 MB / 0.641 GB, free: 55.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.322, allocations: 123.8 kB / 0.6411 GB, free: 54.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006562/1.329, allocations: 4.824 MB / 0.6458 GB, free: 50.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00086/1.33, allocations: 97.7 kB / 0.6459 GB, free: 50.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.332, allocations: 4.798 MB / 0.6506 GB, free: 45.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.334, allocations: 1.457 MB / 0.652 GB, free: 43.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006206/1.334, allocations: 495.7 kB / 0.6525 GB, free: 43.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/1.334, allocations: 301.1 kB / 0.6528 GB, free: 42.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/1.338, allocations: 2.979 MB / 0.6557 GB, free: 39.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004858/1.343, allocations: 5.243 MB / 0.6608 GB, free: 33.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009314/1.353, allocations: 8.738 MB / 0.6693 GB, free: 23.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-05/1.353, allocations: 20 kB / 0.6693 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01622/1.369, allocations: 10.07 MB / 0.6792 GB, free: 13.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/1.369, allocations: 36 kB / 0.6792 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/1.369, allocations: 72 kB / 0.6793 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/1.373, allocations: 1.672 MB / 0.6809 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005809/1.379, allocations: 1.404 MB / 0.6823 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/1.399, allocations: 16.49 MB / 0.6984 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/1.404, allocations: 347.7 kB / 0.6987 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/1.405, allocations: 304 kB / 0.699 GB, free: 8.969 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008368/1.414, allocations: 3.947 MB / 0.7029 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.415, allocations: 0.5017 MB / 0.7033 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2568/1.672, allocations: 7.81 MB / 0.711 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.672, allocations: 44.41 kB / 0.711 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-05/1.672, allocations: 16.75 kB / 0.711 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001306/1.672, allocations: 21.28 kB / 0.7111 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03553/1.708, allocations: 17.55 MB / 0.7282 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.708, allocations: 7.875 kB / 0.7282 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/1.711, allocations: 0.7388 MB / 0.7289 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/1.715, allocations: 1.553 MB / 0.7304 GB, free: 137.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007032/1.716, allocations: 106.5 kB / 0.7305 GB, free: 137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/1.736, allocations: 19.53 MB / 0.7496 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.737, allocations: 12.41 kB / 0.7496 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/1.756, allocations: 11.49 MB / 0.7608 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/1.76, allocations: 1.172 MB / 0.762 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.761, allocations: 86.5 kB / 0.7621 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003463/1.765, allocations: 245.5 kB / 0.7623 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009496/1.766, allocations: 328.1 kB / 0.7626 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/1.766, allocations: 131.4 kB / 0.7627 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005617/1.772, allocations: 3.256 MB / 0.7659 GB, free: 115.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.772, allocations: 0 / 0.7659 GB, free: 115.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009039/1.781, allocations: 1.894 MB / 0.7678 GB, free: 115.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/1.782, allocations: 271.1 kB / 0.768 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01351/1.795, allocations: 8.24 MB / 0.7761 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.795, allocations: 0 / 0.7761 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007867/1.803, allocations: 4.668 MB / 0.7806 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/1.814, allocations: 1.245 MB / 0.7819 GB, free: 100.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/1.846, allocations: 24.41 MB / 0.8057 GB, free: 76.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007286/1.853, allocations: 6.855 MB / 0.8124 GB, free: 69.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006061/1.859, allocations: 1.932 MB / 0.8143 GB, free: 67.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.861, allocations: 387.4 kB / 0.8146 GB, free: 66.96 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/1.861, allocations: 0 / 0.8146 GB, free: 66.96 MB / 462.1 MB Notification: Performance of Templates: time 0.3449/2.206, allocations: 81.46 MB / 0.8942 GB, free: 127.8 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)