Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 109.5 kB / 17.73 MB, free: 5.344 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.001216/0.001216, allocations: 192.1 kB / 18.66 MB, free: 4.418 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.46/1.46, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001409/0.001409, allocations: 51.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2409/0.3625, allocations: 32.96 MB / 407.6 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.3855, allocations: 8.979 MB / 416.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007889/0.3934, allocations: 208.7 kB / 416.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01853/0.412, allocations: 7.947 MB / 424.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.4257, allocations: 3.709 MB / 428.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008405/0.4341, allocations: 2.129 MB / 430.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02139/0.4555, allocations: 13.14 MB / 443.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03987/0.4955, allocations: 22.49 MB / 466.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.5086, allocations: 6.642 MB / 472.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0132/0.5218, allocations: 7.315 MB / 480.2 MB, free: 6.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006414/0.5283, allocations: 1.891 MB / 482.1 MB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008901/0.5372, allocations: 2.25 MB / 484.3 MB, free: 2.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007123/0.5444, allocations: 3.811 MB / 488.1 MB, free: 14.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01486/0.5593, allocations: 7.183 MB / 495.3 MB, free: 7.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03023/0.5895, allocations: 25.07 MB / 0.5082 GB, free: 13.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5896, allocations: 0 / 0.5082 GB, free: 13.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5896, allocations: 0 / 0.5082 GB, free: 13.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000765/0.5904, allocations: 0 / 0.5082 GB, free: 13.87 MB / 446.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.04648/0.6369, allocations: 14.76 MB / 0.5226 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6369, allocations: 8.031 kB / 0.5226 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005565/0.6425, allocations: 1.539 MB / 0.5241 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04356/0.6861, allocations: 7.778 MB / 0.5317 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/0.7038, allocations: 7.347 MB / 0.5389 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008014/0.7047, allocations: 0.7988 MB / 0.5397 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004587/0.7093, allocations: 1.066 MB / 0.5407 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3915/1.101, allocations: 17.66 MB / 0.558 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003839/1.101, allocations: 21.47 kB / 0.558 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/1.104, allocations: 444.5 kB / 0.5584 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000702/1.105, allocations: 0.6663 MB / 0.559 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03218/1.137, allocations: 16.98 MB / 0.5756 GB, free: 122.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07676/1.214, allocations: 56.49 MB / 0.6308 GB, free: 78.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/1.236, allocations: 40.05 MB / 0.6699 GB, free: 33.83 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005509/1.242, allocations: 4.476 MB / 0.6743 GB, free: 29.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/1.258, allocations: 12.67 MB / 0.6867 GB, free: 16.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/1.259, allocations: 81.75 kB / 0.6867 GB, free: 16.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.501e-06/1.259, allocations: 0 / 0.6867 GB, free: 16.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.03917/1.298, allocations: 21.46 MB / 0.7077 GB, free: 10.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/1.298, allocations: 120.7 kB / 0.7078 GB, free: 10.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006679/1.304, allocations: 4.832 MB / 0.7125 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006246/1.305, allocations: 97.7 kB / 0.7126 GB, free: 5.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003088/1.308, allocations: 4.795 MB / 0.7173 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.31, allocations: 1.449 MB / 0.7187 GB, free: 15.43 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001678/1.311, allocations: 1.196 MB / 0.7199 GB, free: 14.22 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/1.311, allocations: 305.1 kB / 0.7202 GB, free: 13.92 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/1.316, allocations: 2.968 MB / 0.7231 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005933/1.322, allocations: 5.24 MB / 0.7282 GB, free: 4.664 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.333, allocations: 8.721 MB / 0.7367 GB, free: 10.88 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.498e-05/1.333, allocations: 20 kB / 0.7367 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01861/1.352, allocations: 10.03 MB / 0.7465 GB, free: 0.7734 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.352, allocations: 36 kB / 0.7465 GB, free: 0.7383 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/1.352, allocations: 75.94 kB / 0.7466 GB, free: 0.6641 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2731/1.625, allocations: 1.667 MB / 0.7482 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/1.631, allocations: 1.399 MB / 0.7496 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/1.654, allocations: 17.77 MB / 0.767 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005866/1.66, allocations: 336.9 kB / 0.7673 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009409/1.661, allocations: 307.6 kB / 0.7676 GB, free: 155.3 MB / 0.5138 GB 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.008161/1.669, allocations: 3.953 MB / 0.7714 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/1.67, allocations: 0.4973 MB / 0.7719 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.684, allocations: 7.8 MB / 0.7795 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/1.684, allocations: 48.09 kB / 0.7796 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-05/1.684, allocations: 15.62 kB / 0.7796 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/1.684, allocations: 22.88 kB / 0.7796 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.712, allocations: 17.52 MB / 0.7967 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.712, allocations: 3.938 kB / 0.7967 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.715, allocations: 0.7314 MB / 0.7975 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/1.718, allocations: 1.554 MB / 0.799 GB, free: 142 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/1.718, allocations: 101.8 kB / 0.7991 GB, free: 142 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/1.736, allocations: 21.21 MB / 0.8198 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.736, allocations: 11.94 kB / 0.8198 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.75, allocations: 11.46 MB / 0.831 GB, free: 114.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.752, allocations: 1.16 MB / 0.8321 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/1.753, allocations: 87.98 kB / 0.8322 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/1.755, allocations: 231.8 kB / 0.8324 GB, free: 113 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006829/1.756, allocations: 329.2 kB / 0.8327 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/1.756, allocations: 140 kB / 0.8329 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003885/1.76, allocations: 3.255 MB / 0.836 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.6e-07/1.76, allocations: 0 / 0.836 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006487/1.767, allocations: 1.893 MB / 0.8379 GB, free: 107.4 MB / 0.5138 GB 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.01419/1.781, allocations: 12.17 MB / 0.8498 GB, free: 95 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.794, allocations: 8.265 MB / 0.8579 GB, free: 86.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.794, allocations: 4 kB / 0.8579 GB, free: 86.69 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007539/1.801, allocations: 4.641 MB / 0.8624 GB, free: 81.96 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007759/1.809, allocations: 1.313 MB / 0.8637 GB, free: 80.65 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.913, allocations: 65.44 MB / 0.9276 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006866/1.92, allocations: 6.846 MB / 0.9343 GB, free: 5.316 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005564/1.926, allocations: 1.94 MB / 0.9362 GB, free: 3.371 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2298/2.156, allocations: 4.04 MB / 0.9401 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/2.156, allocations: 0 / 0.9401 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/2.414, allocations: 154.2 MB / 1.091 GB, free: 49.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.17/24.58, allocations: 20.75 kB / 1.091 GB, free: 49.16 MB / 0.5294 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)