Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9015/0.9015, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2577/0.2577, allocations: 34.86 MB / 296.3 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.078e-05, allocations: 4.984 kB / 378.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01884/0.01887, allocations: 22.27 MB / 401.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.03011, allocations: 6.605 MB / 407.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.03379, allocations: 178.9 kB / 407.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.03816, allocations: 1.517 MB / 409.4 MB, free: 3.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.04498, allocations: 2.204 MB / 411.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.04818, allocations: 1.329 MB / 413 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007966/0.05615, allocations: 6.868 MB / 419.8 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004548/0.0607, allocations: 3.034 MB / 422.9 MB, free: 5.676 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00699/0.06769, allocations: 4.924 MB / 427.8 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005866/0.07355, allocations: 3.207 MB / 431 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.07616, allocations: 0.8008 MB / 431.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.08048, allocations: 1.089 MB / 432.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003165/0.08364, allocations: 2.068 MB / 435 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006582/0.09022, allocations: 2.401 MB / 437.4 MB, free: 7.156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.1018, allocations: 5.642 MB / 443 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1018, allocations: 0 / 443 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1018, allocations: 0 / 443 MB, free: 1.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003378/0.1021, allocations: 4 kB / 443 MB, free: 1.492 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.1542/0.2564, allocations: 7.218 MB / 450.2 MB, free: 72.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2564, allocations: 8.812 kB / 450.2 MB, free: 72.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.26, allocations: 1.677 MB / 451.9 MB, free: 72.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/0.2649, allocations: 3.642 MB / 455.6 MB, free: 71.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.2652, allocations: 407.4 kB / 456 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006071/0.2658, allocations: 0.5296 MB / 456.5 MB, free: 71.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007428/0.2732, allocations: 4.314 MB / 460.8 MB, free: 70.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.2734, allocations: 11.14 kB / 460.8 MB, free: 70.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/0.2737, allocations: 220.8 kB / 461 MB, free: 70.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.2739, allocations: 260.5 kB / 461.3 MB, free: 70.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.2788, allocations: 2.039 MB / 463.3 MB, free: 70.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.3005, allocations: 17.93 MB / 481.3 MB, free: 59.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/0.3049, allocations: 2.776 MB / 484 MB, free: 59.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.307, allocations: 1.146 MB / 485.2 MB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006767/0.3137, allocations: 3.743 MB / 488.9 MB, free: 56.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.3138, allocations: 65.02 kB / 489 MB, free: 56.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 4.359e-06/0.3138, allocations: 0 / 489 MB, free: 56.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.01177/0.3255, allocations: 6.086 MB / 495.1 MB, free: 54.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3256, allocations: 78.41 kB / 495.1 MB, free: 54.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.3296, allocations: 2.458 MB / 497.6 MB, free: 53.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002724/0.3298, allocations: 68.11 kB / 497.7 MB, free: 53.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.3313, allocations: 2.721 MB / 0.4887 GB, free: 51.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005931/0.3319, allocations: 0.8763 MB / 0.4895 GB, free: 50.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/0.3325, allocations: 0.5827 MB / 0.4901 GB, free: 50.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.3325, allocations: 477.6 kB / 0.4905 GB, free: 49.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.3333, allocations: 461.7 kB / 0.491 GB, free: 49.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3347, allocations: 1.922 MB / 0.4929 GB, free: 47.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.337, allocations: 2.623 MB / 0.4954 GB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.337, allocations: 8.844 kB / 0.4954 GB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.004241/0.3412, allocations: 2.839 MB / 0.4982 GB, free: 44.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.3413, allocations: 21.62 kB / 0.4982 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/0.3413, allocations: 36.38 kB / 0.4983 GB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.3421, allocations: 373.8 kB / 0.4986 GB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.3435, allocations: 0.7145 MB / 0.4993 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/0.3477, allocations: 10.55 MB / 0.5096 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.3498, allocations: 156.8 kB / 0.5098 GB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.35, allocations: 143.8 kB / 0.5099 GB, free: 32.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001237/0.3513, allocations: 365.7 kB / 0.5103 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/0.3519, allocations: 409.9 kB / 0.5106 GB, free: 32.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.3548, allocations: 2.185 MB / 0.5128 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.3548, allocations: 27.94 kB / 0.5128 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.3549, allocations: 8 kB / 0.5128 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.3549, allocations: 10.88 kB / 0.5128 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008176/0.3631, allocations: 5.905 MB / 0.5186 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3631, allocations: 4 kB / 0.5186 GB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.364, allocations: 391 kB / 0.519 GB, free: 24.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.3651, allocations: 0.5423 MB / 0.5195 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.3652, allocations: 70.94 kB / 0.5196 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005932/0.3711, allocations: 17.22 MB / 0.5364 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3711, allocations: 4 kB / 0.5364 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.375, allocations: 3.013 MB / 0.5393 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.3761, allocations: 0.5585 MB / 0.5399 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007108/0.3768, allocations: 59.94 kB / 0.5399 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/0.3777, allocations: 111.6 kB / 0.54 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/0.378, allocations: 188.6 kB / 0.5402 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3781, allocations: 77.89 kB / 0.5403 GB, free: 3.125 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.3797, allocations: 1.361 MB / 0.5416 GB, free: 1.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3797, allocations: 2.906 kB / 0.5416 GB, free: 1.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002728/0.3824, allocations: 0.9803 MB / 0.5426 GB, free: 0.7852 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.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 (197): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.3829, allocations: 261.8 kB / 0.5428 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.3864, allocations: 2.748 MB / 0.5455 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3864, allocations: 0 / 0.5455 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.3886, allocations: 2.454 MB / 0.5479 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.3911, allocations: 0.8335 MB / 0.5487 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.4022, allocations: 8.679 MB / 0.5572 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.4033, allocations: 1.294 MB / 0.5585 GB, free: 340 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00163/0.4049, allocations: 0.6601 MB / 0.5591 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.4053, allocations: 228.4 kB / 0.5593 GB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4053, allocations: 0 / 0.5593 GB, free: 15.45 MB / 442.7 MB Notification: Performance of Templates: time 0.05772/0.4631, allocations: 45.95 MB / 0.6042 GB, free: 2.191 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.602247857954353]