Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.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.001447/0.001448, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2989, allocations: 46.63 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01357/0.3125, allocations: 8.962 MB / 334.3 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008686/0.3213, allocations: 3.2 MB / 337.5 MB, free: 7.758 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.3229, allocations: 35.88 kB / 337.5 MB, free: 7.723 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.3249, allocations: 0.6755 MB / 338.2 MB, free: 7.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.3274, allocations: 0.695 MB / 338.9 MB, free: 6.344 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.3283, allocations: 335.4 kB / 339.2 MB, free: 6.016 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.3308, allocations: 2.097 MB / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.3325, allocations: 1.409 MB / 342.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.3337, allocations: 0.8992 MB / 343.6 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.3351, allocations: 1.129 MB / 344.7 MB, free: 428 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.3354, allocations: 232 kB / 345 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.3361, allocations: 323.9 kB / 345.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008365/0.3369, allocations: 0.6739 MB / 346 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.338, allocations: 1.085 MB / 347 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.3414, allocations: 3.08 MB / 350.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3414, allocations: 0 / 350.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3414, allocations: 0 / 350.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.304e-05/0.3415, allocations: 0 / 350.1 MB, free: 11.02 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004647/0.3462, allocations: 2.265 MB / 352.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3462, allocations: 11.89 kB / 352.4 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006193/0.3468, allocations: 226.5 kB / 352.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.3488, allocations: 1.149 MB / 353.8 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.3489, allocations: 123.4 kB / 353.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.3492, allocations: 167.8 kB / 354.1 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.3524, allocations: 1.993 MB / 356.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.3525, allocations: 8 kB / 356.1 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.3526, allocations: 67.98 kB / 356.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-05/0.3527, allocations: 74.92 kB / 356.2 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.3554, allocations: 1.647 MB / 357.8 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.3655, allocations: 6.936 MB / 364.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.3663, allocations: 440.8 kB / 365.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.3668, allocations: 270 kB / 365.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.367, allocations: 113.5 kB / 365.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.367, allocations: 39 kB / 365.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/0.3671, allocations: 0 / 365.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007586/0.3746, allocations: 3.296 MB / 368.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002636/0.3773, allocations: 2.326 MB / 371.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.3797, allocations: 1.619 MB / 372.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.3799, allocations: 37.69 kB / 372.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009577/0.3809, allocations: 1.01 MB / 373.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.3812, allocations: 244.8 kB / 374.2 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/0.3818, allocations: 319.1 kB / 374.5 MB, free: 1.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.382, allocations: 305.1 kB / 374.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/0.3828, allocations: 0.5191 MB / 375.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.3843, allocations: 1.465 MB / 376.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.3871, allocations: 2.137 MB / 378.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.3871, allocations: 15.94 kB / 378.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003712/0.3908, allocations: 2.153 MB / 381.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.3908, allocations: 20 kB / 381.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/0.3909, allocations: 32 kB / 381.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.3915, allocations: 238.9 kB / 381.3 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3927, allocations: 391.3 kB / 381.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.3945, allocations: 1.847 MB / 383.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.3957, allocations: 143.4 kB / 383.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3959, allocations: 99.98 kB / 383.8 MB, free: 7.395 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008949/0.3968, allocations: 0.5867 MB / 384.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.397, allocations: 154 kB / 384.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.3988, allocations: 1.114 MB / 385.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.3989, allocations: 4 kB / 385.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3989, allocations: 7.984 kB / 385.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3989, allocations: 3.938 kB / 385.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.4042, allocations: 3.386 MB / 389.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4043, allocations: 8 kB / 389.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.4047, allocations: 111.8 kB / 389.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006309/0.4053, allocations: 227 kB / 389.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.4055, allocations: 20 kB / 389.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.4095, allocations: 4.057 MB / 393.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002035/0.4115, allocations: 2.17 MB / 395.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.4142, allocations: 1.75 MB / 397.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/0.4147, allocations: 303.1 kB / 397.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.4149, allocations: 23.94 kB / 397.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.4156, allocations: 51.94 kB / 397.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4157, allocations: 59.88 kB / 397.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4158, allocations: 27.98 kB / 397.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.4173, allocations: 1.066 MB / 398.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4174, allocations: 0 / 398.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4189, allocations: 380 kB / 399.3 MB, free: 7.172 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002983/0.4192, allocations: 179 kB / 399.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.4217, allocations: 1.711 MB / 401.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4217, allocations: 0 / 401.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4229, allocations: 0.8516 MB / 402 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.4246, allocations: 410.1 kB / 402.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.429, allocations: 3.205 MB / 405.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.4302, allocations: 1.472 MB / 407.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009422/0.4312, allocations: 346 kB / 407.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.4314, allocations: 111.4 kB / 407.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4314, allocations: 7.938 kB / 407.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.03495/0.4664, allocations: 20.39 MB / 427.9 MB, free: 10.22 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)