Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001405, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007955/0.0007954, allocations: 104.5 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001906/0.0001906, allocations: 8 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1998, allocations: 51.5 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.5168, allocations: 121.5 MB / 0.5185 GB, free: 47.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5171, allocations: 94.33 kB / 0.5186 GB, free: 47.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5564/1.074, allocations: 166.9 MB / 0.6816 GB, free: 77.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.074, allocations: 1.125 kB / 0.6816 GB, free: 77.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002595/1.074, allocations: 101.2 kB / 0.6817 GB, free: 77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01162/1.085, allocations: 4.418 MB / 0.686 GB, free: 75.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.086, allocations: 14.44 kB / 0.686 GB, free: 75.59 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002619/1.088, allocations: 0.6069 MB / 0.6866 GB, free: 75.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/1.094, allocations: 0.9609 MB / 0.6875 GB, free: 75.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/1.105, allocations: 3.868 MB / 0.6913 GB, free: 74.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/1.105, allocations: 301.8 kB / 0.6916 GB, free: 74.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/1.106, allocations: 397.5 kB / 0.692 GB, free: 74.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/1.117, allocations: 5.142 MB / 0.697 GB, free: 74.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/1.117, allocations: 7.75 kB / 0.697 GB, free: 74.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/1.118, allocations: 171.9 kB / 0.6972 GB, free: 74.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/1.118, allocations: 168 kB / 0.6973 GB, free: 74.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008686/1.127, allocations: 4.226 MB / 0.7015 GB, free: 74.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/1.157, allocations: 16.95 MB / 0.718 GB, free: 70.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/1.163, allocations: 8.68 MB / 0.7265 GB, free: 63.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00766/1.171, allocations: 4.79 MB / 0.7312 GB, free: 61.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.171, allocations: 59.58 kB / 0.7312 GB, free: 61.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=165): time 3.697e-06/1.171, allocations: 0 / 0.7312 GB, free: 61.82 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=198): time 0.01449/1.185, allocations: 8.3 MB / 0.7393 GB, free: 59.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.185, allocations: 76.38 kB / 0.7394 GB, free: 59.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/1.188, allocations: 1.985 MB / 0.7413 GB, free: 58.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.188, allocations: 57.42 kB / 0.7414 GB, free: 58.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/1.189, allocations: 1.841 MB / 0.7432 GB, free: 57.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/1.189, allocations: 0.6678 MB / 0.7438 GB, free: 56.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.189, allocations: 47.41 kB / 0.7439 GB, free: 56.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/1.19, allocations: 403.5 kB / 0.7443 GB, free: 56.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/1.191, allocations: 0.9814 MB / 0.7452 GB, free: 56.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.192, allocations: 1.668 MB / 0.7469 GB, free: 54.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/1.194, allocations: 1.276 MB / 0.7481 GB, free: 54.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.194, allocations: 6.344 kB / 0.7481 GB, free: 54.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.004831/1.199, allocations: 3.542 MB / 0.7516 GB, free: 52.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.199, allocations: 18.12 kB / 0.7516 GB, free: 52.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/1.199, allocations: 22.34 kB / 0.7516 GB, free: 52.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000878/1.2, allocations: 407 kB / 0.752 GB, free: 52.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/1.202, allocations: 0.5602 MB / 0.7525 GB, free: 52.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004956/1.207, allocations: 6.849 MB / 0.7592 GB, free: 47.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.209, allocations: 121.2 kB / 0.7593 GB, free: 47.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.209, allocations: 99.88 kB / 0.7594 GB, free: 47.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(2,100.0%) 15,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002028/1.211, allocations: 1.222 MB / 0.7606 GB, free: 46.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/1.211, allocations: 254.8 kB / 0.7609 GB, free: 46.25 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/1.215, allocations: 3.141 MB / 0.7639 GB, free: 44.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.215, allocations: 18.34 kB / 0.764 GB, free: 44.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.215, allocations: 7.719 kB / 0.764 GB, free: 44.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.215, allocations: 14.11 kB / 0.764 GB, free: 44.66 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00875/1.224, allocations: 6.829 MB / 0.7707 GB, free: 41.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.224, allocations: 2.969 kB / 0.7707 GB, free: 41.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.226, allocations: 380.3 kB / 0.771 GB, free: 41.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/1.226, allocations: 390.4 kB / 0.7714 GB, free: 41.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.227, allocations: 50.75 kB / 0.7714 GB, free: 41.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005614/1.232, allocations: 9.659 MB / 0.7809 GB, free: 32.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.232, allocations: 3.656 kB / 0.7809 GB, free: 32.77 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005616/1.238, allocations: 4.584 MB / 0.7854 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.239, allocations: 0.5442 MB / 0.7859 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/1.24, allocations: 46.14 kB / 0.7859 GB, free: 29.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.241, allocations: 102.5 kB / 0.786 GB, free: 29.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/1.241, allocations: 138.5 kB / 0.7862 GB, free: 29.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.241, allocations: 61.17 kB / 0.7862 GB, free: 29.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002159/1.244, allocations: 1.52 MB / 0.7877 GB, free: 29.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.244, allocations: 0 / 0.7877 GB, free: 29.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003048/1.247, allocations: 0.7887 MB / 0.7885 GB, free: 29.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.is[3],smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(2,100.0%) 15,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of Backend phase and start with SimCode phase: time 0.006409/1.253, allocations: 5.828 MB / 0.7942 GB, free: 25.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004203/1.257, allocations: 3.028 MB / 0.7971 GB, free: 24.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.257, allocations: 5 kB / 0.7971 GB, free: 24.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.26, allocations: 1.821 MB / 0.7989 GB, free: 23.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.262, allocations: 0.5784 MB / 0.7995 GB, free: 23.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03903/1.301, allocations: 36.11 MB / 0.8347 GB, free: 4.371 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.304, allocations: 2.799 MB / 0.8375 GB, free: 2.207 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002425/1.306, allocations: 0.5838 MB / 0.838 GB, free: 1.809 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.309, allocations: 1.486 MB / 0.8395 GB, free: 448 kB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/1.309, allocations: 4 kB / 0.8395 GB, free: 444 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2999/1.609, allocations: 66.03 MB / 0.904 GB, free: 96.86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.609, allocations: 240.8 kB / 0.9042 GB, free: 96.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.683/5.292, allocations: 0 / 0.9042 GB, free: 96.62 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1)