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.0009684/0.0009684, allocations: 88.28 kB / 21.44 MB, free: 3.109 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.001005/0.001005, allocations: 151.8 kB / 24.69 MB, free: 8.883 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.9242/0.9242, allocations: 177 MB / 204.9 MB, free: 5.691 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.2461/0.2461, allocations: 34.86 MB / 296.2 MB, free: 0.5039 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.583e-06/1.583e-06, allocations: 0 / 443.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.871e-05, allocations: 2.281 kB / 443.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.1868/0.1868, allocations: 19.46 MB / 463.1 MB, free: 31.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.1957, allocations: 6.399 MB / 469.5 MB, free: 27.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.1978, allocations: 180.2 kB / 469.7 MB, free: 27.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.1999, allocations: 1.517 MB / 471.2 MB, free: 26.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.2037, allocations: 2.191 MB / 473.4 MB, free: 24.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.2056, allocations: 1.328 MB / 474.7 MB, free: 23.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004208/0.2098, allocations: 6.873 MB / 481.6 MB, free: 20.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.2123, allocations: 3.013 MB / 484.6 MB, free: 18.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.2163, allocations: 4.549 MB / 489.2 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.2194, allocations: 3.036 MB / 492.2 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.2208, allocations: 0.8137 MB / 493 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.2232, allocations: 1.106 MB / 494.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.2246, allocations: 2.095 MB / 496.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.2266, allocations: 2.411 MB / 498.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.2374, allocations: 10.97 MB / 0.4977 GB, free: 8.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2374, allocations: 0 / 0.4977 GB, free: 8.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2374, allocations: 1.062 kB / 0.4977 GB, free: 8.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002629/0.2377, allocations: 3.938 kB / 0.4977 GB, free: 8.488 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.01114/0.2488, allocations: 6.981 MB / 0.5045 GB, free: 3.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2489, allocations: 8.625 kB / 0.5045 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.2516, allocations: 1.085 MB / 0.5056 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.2561, allocations: 3.709 MB / 0.5092 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.2564, allocations: 405.5 kB / 0.5096 GB, free: 476 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005696/0.2569, allocations: 0.5248 MB / 0.5101 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008535/0.2655, allocations: 7.299 MB / 0.5172 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.2656, allocations: 8.844 kB / 0.5172 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003793/0.2659, allocations: 224 kB / 0.5174 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.2661, allocations: 258.6 kB / 0.5177 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/0.2733, allocations: 5.94 MB / 0.5235 GB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.2957, allocations: 19.19 MB / 0.5422 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/0.2999, allocations: 3.717 MB / 0.5458 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.3022, allocations: 2.088 MB / 0.5479 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007198/0.3094, allocations: 5.2 MB / 0.553 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3095, allocations: 56.56 kB / 0.553 GB, free: 4.582 MB / 458.7 MB Notification: Performance of pre-optimization done (n=220): time 3.606e-06/0.3095, allocations: 0 / 0.553 GB, free: 4.582 MB / 458.7 MB Notification: Performance of matching and sorting (n=240): time 0.01387/0.3233, allocations: 10.24 MB / 0.563 GB, free: 10.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3234, allocations: 77.41 kB / 0.5631 GB, free: 10.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.3267, allocations: 2.84 MB / 0.5659 GB, free: 7.395 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.3269, allocations: 65.7 kB / 0.5659 GB, free: 7.324 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.3281, allocations: 2.601 MB / 0.5685 GB, free: 4.699 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/0.3287, allocations: 0.856 MB / 0.5693 GB, free: 3.836 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006146/0.3293, allocations: 0.5539 MB / 0.5698 GB, free: 3.273 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.3293, allocations: 305.1 kB / 0.5701 GB, free: 2.973 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.3309, allocations: 1.337 MB / 0.5714 GB, free: 1.633 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.3328, allocations: 2.364 MB / 0.5737 GB, free: 14.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.3366, allocations: 3.924 MB / 0.5776 GB, free: 10.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.3366, allocations: 8 kB / 0.5776 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.005279/0.3419, allocations: 4.561 MB / 0.582 GB, free: 5.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.3419, allocations: 16.66 kB / 0.5821 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.3419, allocations: 35.94 kB / 0.5821 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008618/0.3428, allocations: 0.5368 MB / 0.5826 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.3444, allocations: 0.741 MB / 0.5833 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006035/0.3504, allocations: 9.743 MB / 0.5928 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.3521, allocations: 195.8 kB / 0.593 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.3523, allocations: 140 kB / 0.5932 GB, free: 9.852 MB / 0.4948 GB 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 (377): * Single equations (assignments): 370 * 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.002535/0.3548, allocations: 1.586 MB / 0.5947 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.3552, allocations: 329.9 kB / 0.595 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/0.3595, allocations: 3.806 MB / 0.5987 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3595, allocations: 20 kB / 0.5988 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3595, allocations: 16 kB / 0.5988 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3595, allocations: 11.95 kB / 0.5988 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.3685, allocations: 7.545 MB / 0.6062 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3685, allocations: 4 kB / 0.6062 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/0.3695, allocations: 407.4 kB / 0.6066 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.3706, allocations: 0.7507 MB / 0.6073 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.3707, allocations: 71.91 kB / 0.6074 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009102/0.3798, allocations: 15.76 MB / 0.6227 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3798, allocations: 7.938 kB / 0.6228 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.386, allocations: 5.592 MB / 0.6282 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.3871, allocations: 0.6032 MB / 0.6288 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.3874, allocations: 60.11 kB / 0.6289 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/0.3882, allocations: 139.8 kB / 0.629 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/0.3885, allocations: 193.5 kB / 0.6292 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.3886, allocations: 79.97 kB / 0.6293 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002095/0.3907, allocations: 1.857 MB / 0.6311 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.3907, allocations: 4 kB / 0.6311 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002642/0.3934, allocations: 0.9921 MB / 0.632 GB, free: 0.9141 MB / 0.5261 GB 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 (198): * Single equations (assignments): 190 * 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%), (2,1,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.0004062/0.3938, allocations: 267.3 kB / 0.6323 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1722/0.566, allocations: 3.875 MB / 0.6361 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.566, allocations: 0 / 0.6361 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.5685, allocations: 2.643 MB / 0.6387 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.5713, allocations: 0.8136 MB / 0.6395 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5819, allocations: 9.829 MB / 0.6491 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.5839, allocations: 2.835 MB / 0.6518 GB, free: 149 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007458/0.5846, allocations: 257.4 kB / 0.6521 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.5847, allocations: 0.9844 kB / 0.6521 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.3378/0.9225, allocations: 267.2 MB / 0.913 GB, free: 125.2 MB / 0.5417 GB " [Timeout remaining time 659] 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.15292804595083]