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.001314/0.001314, allocations: 75.69 kB / 21.7 MB, free: 2.84 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.00137/0.00137, allocations: 164.6 kB / 25 MB, free: 8.809 MB / 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.9017/0.9017, allocations: 177 MB / 205.2 MB, free: 5.598 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.2797/0.2797, allocations: 34.86 MB / 296.6 MB, free: 0.5703 MB / 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.713e-06/1.713e-06, allocations: 0 / 378.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.998e-05, allocations: 4.562 kB / 378.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.0253/0.02533, allocations: 22.25 MB / 401.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.03901, allocations: 6.597 MB / 407.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004357/0.04337, allocations: 178.9 kB / 407.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004428/0.0478, allocations: 1.521 MB / 409.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00734/0.05514, allocations: 2.2 MB / 411.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.05915, allocations: 1.337 MB / 412.9 MB, free: 76 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008659/0.06781, allocations: 6.872 MB / 419.8 MB, free: 9.172 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005126/0.07293, allocations: 3.03 MB / 422.8 MB, free: 6.059 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008921/0.08185, allocations: 4.916 MB / 427.8 MB, free: 1.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004543/0.0864, allocations: 3.188 MB / 431 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001598/0.08799, allocations: 0.8047 MB / 431.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.09061, allocations: 1.093 MB / 432.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.09215, allocations: 2.064 MB / 434.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.09551, allocations: 2.405 MB / 437.3 MB, free: 7.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007029/0.1025, allocations: 5.638 MB / 443 MB, free: 1.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1025, allocations: 4 kB / 443 MB, free: 1.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1025, allocations: 0 / 443 MB, free: 1.898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001985/0.1027, allocations: 0 / 443 MB, free: 1.898 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.1592/0.2619, allocations: 7.218 MB / 450.2 MB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2619, allocations: 8.75 kB / 450.2 MB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.2651, allocations: 1.679 MB / 451.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.2693, allocations: 3.642 MB / 455.5 MB, free: 98.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2695, allocations: 403.8 kB / 455.9 MB, free: 98.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/0.27, allocations: 0.5373 MB / 456.4 MB, free: 98.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005741/0.2757, allocations: 4.311 MB / 460.8 MB, free: 96.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.2758, allocations: 14.3 kB / 460.8 MB, free: 96.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.2761, allocations: 215.6 kB / 461 MB, free: 96.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.2763, allocations: 261.8 kB / 461.2 MB, free: 96.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/0.2817, allocations: 2.034 MB / 463.3 MB, free: 96.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.3058, allocations: 17.93 MB / 481.2 MB, free: 85.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/0.3106, allocations: 2.779 MB / 484 MB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.3128, allocations: 1.152 MB / 485.1 MB, free: 84.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007427/0.3203, allocations: 3.737 MB / 488.9 MB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3203, allocations: 60.73 kB / 488.9 MB, free: 82.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 5.39e-06/0.3203, allocations: 0 / 488.9 MB, free: 82.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.01262/0.3329, allocations: 6.084 MB / 495 MB, free: 79.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.333, allocations: 78.39 kB / 495.1 MB, free: 79.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.3361, allocations: 2.474 MB / 497.6 MB, free: 77.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.3362, allocations: 61.7 kB / 497.6 MB, free: 77.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.3375, allocations: 2.714 MB / 0.4886 GB, free: 74.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.338, allocations: 0.8788 MB / 0.4895 GB, free: 73.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007109/0.3388, allocations: 0.5782 MB / 0.49 GB, free: 73.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.33e-05/0.3388, allocations: 485.4 kB / 0.4905 GB, free: 72.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009828/0.3398, allocations: 465.3 kB / 0.4909 GB, free: 72.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.3412, allocations: 1.918 MB / 0.4928 GB, free: 70.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.3438, allocations: 2.636 MB / 0.4954 GB, free: 66.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/0.3438, allocations: 12 kB / 0.4954 GB, free: 66.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.004395/0.3482, allocations: 2.837 MB / 0.4982 GB, free: 64.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.3482, allocations: 16 kB / 0.4982 GB, free: 64.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.3483, allocations: 32 kB / 0.4982 GB, free: 64.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008763/0.3491, allocations: 364.4 kB / 0.4986 GB, free: 63.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.3511, allocations: 0.7211 MB / 0.4993 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/0.3556, allocations: 10.56 MB / 0.5096 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.3572, allocations: 163.8 kB / 0.5097 GB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.3574, allocations: 144 kB / 0.5099 GB, free: 52.06 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.001059/0.3585, allocations: 355.7 kB / 0.5102 GB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.3589, allocations: 413.8 kB / 0.5106 GB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.3623, allocations: 2.188 MB / 0.5127 GB, free: 49.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.3623, allocations: 11.95 kB / 0.5127 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3624, allocations: 0 / 0.5127 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/0.3631, allocations: 0.5523 MB / 0.5133 GB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.3634, allocations: 51.98 kB / 0.5133 GB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.364, allocations: 127.9 kB / 0.5135 GB, free: 48.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.3642, allocations: 193.6 kB / 0.5136 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002912/0.3671, allocations: 1.983 MB / 0.5156 GB, free: 46.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002476/0.3696, allocations: 2.384 MB / 0.5179 GB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006257/0.3702, allocations: 0.5227 MB / 0.5184 GB, free: 43.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001358/0.3716, allocations: 1.353 MB / 0.5197 GB, free: 41.86 MB / 410.7 MB Notification: Performance of Backend: time 3.7e-07/0.3716, allocations: 0 / 0.5197 GB, free: 41.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003218/0.3748, allocations: 2.606 MB / 0.5223 GB, free: 39.16 MB / 410.7 MB Notification: Performance of SimCode: time 0.009501/0.3843, allocations: 9.754 MB / 0.5318 GB, free: 29.35 MB / 410.7 MB Notification: Performance of Templates: time 0.05877/0.4431, allocations: 51.41 MB / 0.582 GB, free: 10.5 MB / 442.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: 12.318590722978115]