Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 43.94 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.21, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01278/0.2228, allocations: 9.661 MB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00627/0.2291, allocations: 3.478 MB / 445.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.23, allocations: 83.44 kB / 445.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2318, allocations: 0.8073 MB / 446.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.2339, allocations: 0.9165 MB / 447.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.2348, allocations: 463.3 kB / 447.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.2379, allocations: 2.954 MB / 450.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.24, allocations: 1.563 MB / 452.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.2416, allocations: 1.425 MB / 453.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.2439, allocations: 1.802 MB / 455.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004995/0.2444, allocations: 372 kB / 455.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00085/0.2452, allocations: 479.8 kB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.2463, allocations: 1.095 MB / 457.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.2477, allocations: 1.346 MB / 458.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.2527, allocations: 4.939 MB / 463.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2527, allocations: 0 / 463.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2527, allocations: 4 kB / 463.7 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.86e-05/0.2528, allocations: 0 / 463.7 MB, free: 7.211 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.006459/0.2592, allocations: 3.409 MB / 467.1 MB, free: 3.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2593, allocations: 8.031 kB / 467.1 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.2602, allocations: 362.8 kB / 467.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.2637, allocations: 1.756 MB / 469.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.2639, allocations: 189.4 kB / 469.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004119/0.2643, allocations: 259.9 kB / 469.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005628/0.27, allocations: 3.351 MB / 473 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.27, allocations: 11.94 kB / 473 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.2703, allocations: 100 kB / 473.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.2704, allocations: 132.9 kB / 473.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004728/0.2752, allocations: 2.744 MB / 476 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.2897, allocations: 9.028 MB / 485 MB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2915, allocations: 1.067 MB / 486.1 MB, free: 256 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.2928, allocations: 0.7108 MB / 486.8 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.293, allocations: 50.06 kB / 486.9 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.2931, allocations: 43.56 kB / 486.9 MB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.856e-06/0.2931, allocations: 0 / 486.9 MB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01518/0.3083, allocations: 6.621 MB / 493.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3083, allocations: 68.41 kB / 493.6 MB, free: 8.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.3106, allocations: 1.645 MB / 495.2 MB, free: 7.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.3107, allocations: 45.7 kB / 495.3 MB, free: 6.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.3118, allocations: 1.325 MB / 496.6 MB, free: 5.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.3122, allocations: 448.2 kB / 497 MB, free: 5.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.3127, allocations: 295.4 kB / 497.3 MB, free: 4.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3128, allocations: 301.1 kB / 497.6 MB, free: 4.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.3141, allocations: 0.7769 MB / 498.4 MB, free: 3.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.3158, allocations: 1.288 MB / 499.7 MB, free: 2.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.3189, allocations: 2.214 MB / 0.4901 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.3189, allocations: 4 kB / 0.4901 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00412/0.3231, allocations: 2.464 MB / 0.4926 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3231, allocations: 16.22 kB / 0.4926 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.3231, allocations: 16 kB / 0.4926 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006713/0.3238, allocations: 259.1 kB / 0.4928 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.3253, allocations: 411.3 kB / 0.4932 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.3283, allocations: 2.985 MB / 0.4961 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3295, allocations: 135.9 kB / 0.4963 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.3296, allocations: 72 kB / 0.4963 GB, free: 9.309 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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.001427/0.3311, allocations: 0.8172 MB / 0.4971 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.3314, allocations: 186.8 kB / 0.4973 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.3351, allocations: 2.026 MB / 0.4993 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.3351, allocations: 7.969 kB / 0.4993 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3351, allocations: 4 kB / 0.4993 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009753/0.3361, allocations: 346.6 kB / 0.4996 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.3363, allocations: 20 kB / 0.4997 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.3372, allocations: 103.9 kB / 0.4997 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3374, allocations: 76.83 kB / 0.4998 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004036/0.3414, allocations: 2.059 MB / 0.5018 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004377/0.3458, allocations: 3.02 MB / 0.5048 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001123/0.3469, allocations: 0.7535 MB / 0.5055 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001731/0.3486, allocations: 1.103 MB / 0.5066 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Backend: time 4.1e-07/0.3486, allocations: 0 / 0.5066 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.3521, allocations: 1.573 MB / 0.5081 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 0.008149/0.3602, allocations: 5.065 MB / 0.5131 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Templates: time 0.2171/0.5773, allocations: 32.93 MB / 0.5452 GB, free: 102.8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] Could not SIGINT process: 437543. Could not SIGINT process: 437544. Could not SIGINT process: 437547. Could not SIGINT process: 437104. [Calling os._exit(0), Time elapsed: 485.26705570099875] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'multiSensor.flange_a.phi'] 0.5853272450040095 0.5935842929999999 0.33867946499999996 Calling exit ...