Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001128/0.001128, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.273/1.273, allocations: 205.1 MB / 225.2 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.001208/0.001208, allocations: 51.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07139/0.07261, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.1592/0.2319, allocations: 10.89 MB / 386.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005924/0.2378, allocations: 3.677 MB / 390.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.239, allocations: 55.88 kB / 390.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.2407, allocations: 0.8689 MB / 391.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.2431, allocations: 0.9006 MB / 392.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2444, allocations: 467.6 kB / 392.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.2472, allocations: 2.946 MB / 395.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.2499, allocations: 2.683 MB / 398.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.2516, allocations: 1.376 MB / 399.7 MB, free: 396 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.2536, allocations: 1.752 MB / 401.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.2541, allocations: 374 kB / 401.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008315/0.2549, allocations: 480.6 kB / 402.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.256, allocations: 1.075 MB / 403.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.2578, allocations: 1.674 MB / 405 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.2624, allocations: 4.876 MB / 409.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2625, allocations: 0 / 409.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2625, allocations: 0 / 409.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.166e-05/0.2625, allocations: 0 / 409.9 MB, free: 10.64 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.006591/0.2691, allocations: 3.396 MB / 413.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2692, allocations: 8.844 kB / 413.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008358/0.27, allocations: 335.5 kB / 413.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.273, allocations: 1.7 MB / 415.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.2731, allocations: 189.3 kB / 415.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.2735, allocations: 258.4 kB / 415.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.2788, allocations: 3.284 MB / 419.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.378e-05/0.2789, allocations: 3.906 kB / 419.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.2791, allocations: 108 kB / 419.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.2792, allocations: 124.9 kB / 419.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.2835, allocations: 2.748 MB / 422 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.2983, allocations: 10.39 MB / 432.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.3002, allocations: 1.346 MB / 433.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.3015, allocations: 0.7551 MB / 434.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.3018, allocations: 203.2 kB / 434.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3018, allocations: 47.55 kB / 434.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.036e-06/0.3018, allocations: 0 / 434.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01557/0.3174, allocations: 7.038 MB / 441.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3175, allocations: 64.41 kB / 441.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.3203, allocations: 1.785 MB / 443.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/0.3204, allocations: 45.7 kB / 443.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/0.3213, allocations: 1.275 MB / 445 MB, free: 9.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.3216, allocations: 429.9 kB / 445.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.3221, allocations: 299.8 kB / 445.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.3222, allocations: 305.1 kB / 446 MB, free: 8.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3234, allocations: 0.7769 MB / 446.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.3249, allocations: 1.297 MB / 448.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.3277, allocations: 2.207 MB / 450.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.3277, allocations: 8 kB / 450.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003846/0.3316, allocations: 2.471 MB / 452.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3316, allocations: 16.16 kB / 452.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.3316, allocations: 16 kB / 452.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/0.3322, allocations: 247.2 kB / 453 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.3337, allocations: 411.3 kB / 453.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.3364, allocations: 3.249 MB / 456.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3379, allocations: 131.6 kB / 456.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.3381, allocations: 72 kB / 456.9 MB, free: 12.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.3394, allocations: 0.8212 MB / 457.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.3398, allocations: 181.8 kB / 457.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.3433, allocations: 2.042 MB / 459.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.3433, allocations: 7.969 kB / 459.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3433, allocations: 4 kB / 459.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/0.3443, allocations: 422.7 kB / 460.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/0.3447, allocations: 23.94 kB / 460.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.3457, allocations: 99.86 kB / 460.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3459, allocations: 76.88 kB / 460.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003841/0.3497, allocations: 2.062 MB / 462.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004011/0.3537, allocations: 3.021 MB / 465.6 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/0.3548, allocations: 0.8159 MB / 466.4 MB, free: 3.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001976/0.3568, allocations: 1.224 MB / 467.7 MB, free: 2.051 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.3568, allocations: 0 / 467.7 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.3603, allocations: 1.815 MB / 469.5 MB, free: 168 kB / 382.1 MB Notification: Performance of SimCode: time 0.008456/0.3688, allocations: 5.022 MB / 474.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of Templates: time 0.04836/0.4172, allocations: 29.3 MB / 0.492 GB, free: 13.73 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)