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.001399/0.001399, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001809/0.001809, allocations: 187 kB / 18.66 MB, free: 4.395 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002361/0.002361, allocations: 52.39 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1162, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2728/0.3891, allocations: 32.95 MB / 407.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02673/0.4159, allocations: 8.983 MB / 416.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.4278, allocations: 201 kB / 416.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0226/0.4505, allocations: 7.954 MB / 424.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01668/0.4672, allocations: 3.708 MB / 428.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008997/0.4762, allocations: 2.131 MB / 430.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02555/0.5018, allocations: 13.15 MB / 443.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03675/0.5386, allocations: 22.47 MB / 466.2 MB, free: 4.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.552, allocations: 6.65 MB / 472.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01368/0.5658, allocations: 7.304 MB / 480.2 MB, free: 6.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005999/0.5718, allocations: 1.895 MB / 482.1 MB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009939/0.5818, allocations: 2.25 MB / 484.3 MB, free: 2.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006816/0.5887, allocations: 3.811 MB / 488.1 MB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01571/0.6044, allocations: 7.187 MB / 495.3 MB, free: 6.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03464/0.6391, allocations: 25.07 MB / 0.5082 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6391, allocations: 0 / 0.5082 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6392, allocations: 4 kB / 0.5082 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009775/0.6402, allocations: 0 / 0.5082 GB, free: 13.86 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.0542/0.6944, allocations: 14.75 MB / 0.5226 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.6944, allocations: 12.03 kB / 0.5226 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006352/0.7008, allocations: 1.535 MB / 0.5241 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04626/0.7471, allocations: 7.79 MB / 0.5317 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/0.7678, allocations: 7.336 MB / 0.5389 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008386/0.7687, allocations: 0.8027 MB / 0.5397 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004443/0.7732, allocations: 1.058 MB / 0.5407 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4166/1.19, allocations: 17.67 MB / 0.558 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004348/1.19, allocations: 22.73 kB / 0.558 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002789/1.193, allocations: 446.8 kB / 0.5584 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007551/1.194, allocations: 0.6639 MB / 0.5591 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03618/1.23, allocations: 16.99 MB / 0.5756 GB, free: 122.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0872/1.317, allocations: 56.49 MB / 0.6308 GB, free: 78.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02541/1.343, allocations: 40.05 MB / 0.6699 GB, free: 33.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006141/1.349, allocations: 4.478 MB / 0.6743 GB, free: 29.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/1.369, allocations: 12.66 MB / 0.6867 GB, free: 16.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.369, allocations: 77.8 kB / 0.6867 GB, free: 16.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.55e-06/1.369, allocations: 0 / 0.6867 GB, free: 16.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04427/1.413, allocations: 21.46 MB / 0.7077 GB, free: 10.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/1.413, allocations: 120.7 kB / 0.7078 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008861/1.422, allocations: 4.824 MB / 0.7125 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007589/1.423, allocations: 93.7 kB / 0.7126 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00324/1.426, allocations: 4.798 MB / 0.7173 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001792/1.428, allocations: 1.455 MB / 0.7187 GB, free: 15.39 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003335/1.431, allocations: 1.196 MB / 0.7199 GB, free: 14.19 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.431, allocations: 305.1 kB / 0.7202 GB, free: 13.89 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/1.437, allocations: 2.96 MB / 0.7231 GB, free: 10.92 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006775/1.443, allocations: 5.244 MB / 0.7282 GB, free: 4.633 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.456, allocations: 8.72 MB / 0.7367 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.75e-05/1.456, allocations: 24 kB / 0.7367 GB, free: 10.83 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01895/1.475, allocations: 10.04 MB / 0.7465 GB, free: 0.7344 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/1.475, allocations: 36 kB / 0.7466 GB, free: 0.6992 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/1.475, allocations: 79.94 kB / 0.7466 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1993/1.674, allocations: 1.662 MB / 0.7483 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/1.681, allocations: 1.395 MB / 0.7496 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/1.707, allocations: 17.77 MB / 0.767 GB, free: 155.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/1.714, allocations: 340.1 kB / 0.7673 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/1.715, allocations: 305.2 kB / 0.7676 GB, free: 155.4 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.009498/1.725, allocations: 3.949 MB / 0.7714 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.726, allocations: 0.502 MB / 0.7719 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/1.74, allocations: 7.795 MB / 0.7795 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.74, allocations: 45.3 kB / 0.7796 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.74, allocations: 17.88 kB / 0.7796 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-05/1.74, allocations: 18.66 kB / 0.7796 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/1.767, allocations: 17.53 MB / 0.7967 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.767, allocations: 4.812 kB / 0.7968 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/1.769, allocations: 0.7226 MB / 0.7975 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003637/1.773, allocations: 1.556 MB / 0.799 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/1.773, allocations: 106.8 kB / 0.7991 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.792, allocations: 21.2 MB / 0.8198 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.792, allocations: 8 kB / 0.8198 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.81, allocations: 11.46 MB / 0.831 GB, free: 114.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003581/1.814, allocations: 1.16 MB / 0.8321 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.815, allocations: 91.98 kB / 0.8322 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/1.818, allocations: 227.8 kB / 0.8324 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008692/1.819, allocations: 327.3 kB / 0.8327 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004591/1.819, allocations: 132 kB / 0.8329 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005654/1.825, allocations: 3.255 MB / 0.836 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.41e-07/1.825, allocations: 0 / 0.836 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007955/1.833, allocations: 1.893 MB / 0.8379 GB, free: 107.3 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.01783/1.851, allocations: 12.19 MB / 0.8498 GB, free: 94.93 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.864, allocations: 8.25 MB / 0.8578 GB, free: 86.65 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.864, allocations: 9.047 kB / 0.8579 GB, free: 86.64 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007839/1.872, allocations: 4.643 MB / 0.8624 GB, free: 81.91 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008884/1.881, allocations: 1.311 MB / 0.8637 GB, free: 80.61 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1106/1.992, allocations: 65.45 MB / 0.9276 GB, free: 12.14 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00961/2.001, allocations: 6.847 MB / 0.9343 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007116/2.008, allocations: 1.928 MB / 0.9362 GB, free: 3.32 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2395/2.248, allocations: 4.034 MB / 0.9401 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.413e-06/2.248, allocations: 0 / 0.9401 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6039/2.852, allocations: 154.2 MB / 1.091 GB, free: 49.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.96/24.82, allocations: 16.69 kB / 1.091 GB, free: 49.44 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)