Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.00176/0.00176, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 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.002107/0.002107, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.5 MB / 254.8 MB, free: 14.9 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-beta.om/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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.83 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1333, allocations: 53.33 MB / 427 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.222/0.3553, allocations: 11.89 MB / 438.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007328/0.3626, allocations: 4.006 MB / 442.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.3651, allocations: 80.78 kB / 443 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.3676, allocations: 0.8875 MB / 443.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.3712, allocations: 1.025 MB / 444.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3727, allocations: 0.5193 MB / 445.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.3778, allocations: 3.465 MB / 448.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.3808, allocations: 1.965 MB / 450.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.3842, allocations: 1.587 MB / 452.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.3883, allocations: 1.985 MB / 454.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3893, allocations: 408.8 kB / 454.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.3914, allocations: 0.6438 MB / 455.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.3929, allocations: 1.159 MB / 456.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003629/0.3966, allocations: 1.839 MB / 458.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007537/0.4041, allocations: 5.41 MB / 463.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4041, allocations: 1.031 kB / 463.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4041, allocations: 0 / 463.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001622/0.4043, allocations: 4 kB / 463.9 MB, free: 7.312 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01078/0.415, allocations: 3.819 MB / 467.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4151, allocations: 13.78 kB / 467.7 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006583/0.4158, allocations: 387.3 kB / 468.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.4178, allocations: 488.5 kB / 468.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/0.4219, allocations: 1.992 MB / 470.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.4221, allocations: 202.5 kB / 470.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.4226, allocations: 270.6 kB / 471 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006524/0.4291, allocations: 3.529 MB / 474.6 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/0.4292, allocations: 6.75 kB / 474.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.4294, allocations: 107.4 kB / 474.7 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.4296, allocations: 123.1 kB / 474.8 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/0.4353, allocations: 2.964 MB / 477.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.4553, allocations: 11 MB / 488.8 MB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.4584, allocations: 2.187 MB / 491 MB, free: 236 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.4605, allocations: 1.098 MB / 492 MB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.4608, allocations: 207.4 kB / 492.3 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4609, allocations: 47.88 kB / 492.3 MB, free: 14.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.145e-06/0.4609, allocations: 0 / 492.3 MB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01788/0.4788, allocations: 7.553 MB / 499.9 MB, free: 7.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.4788, allocations: 64.72 kB / 499.9 MB, free: 7.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.4823, allocations: 1.996 MB / 0.4901 GB, free: 5.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.4825, allocations: 49.7 kB / 0.4902 GB, free: 4.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.4836, allocations: 1.354 MB / 0.4915 GB, free: 3.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.4841, allocations: 0.5267 MB / 0.492 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.4847, allocations: 323.5 kB / 0.4923 GB, free: 2.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4848, allocations: 305.1 kB / 0.4926 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.4864, allocations: 0.8823 MB / 0.4935 GB, free: 1.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.4883, allocations: 1.375 MB / 0.4948 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/0.492, allocations: 2.385 MB / 0.4972 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.492, allocations: 7.938 kB / 0.4972 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005606/0.4976, allocations: 2.983 MB / 0.5001 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4977, allocations: 12 kB / 0.5001 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.4977, allocations: 16 kB / 0.5001 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.4989, allocations: 455.1 kB / 0.5005 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.5005, allocations: 439.2 kB / 0.501 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/0.5079, allocations: 6.105 MB / 0.5069 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.5101, allocations: 127.8 kB / 0.507 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.5103, allocations: 71.98 kB / 0.5071 GB, free: 2.891 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001743/0.512, allocations: 0.8524 MB / 0.5079 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/0.5126, allocations: 226.5 kB / 0.5082 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/0.5175, allocations: 2.576 MB / 0.5107 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.5176, allocations: 16 kB / 0.5107 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.5176, allocations: 12 kB / 0.5107 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.5176, allocations: 7.969 kB / 0.5107 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.5284, allocations: 5.607 MB / 0.5162 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.5285, allocations: 4 kB / 0.5162 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.5297, allocations: 284 kB / 0.5165 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.5311, allocations: 498 kB / 0.5169 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.5312, allocations: 35.98 kB / 0.517 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009077/0.5403, allocations: 7.688 MB / 0.5245 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5403, allocations: 4 kB / 0.5245 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/0.5473, allocations: 3.836 MB / 0.5282 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.5486, allocations: 491.5 kB / 0.5287 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.5489, allocations: 43.97 kB / 0.5287 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5501, allocations: 99.89 kB / 0.5288 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/0.5504, allocations: 121 kB / 0.529 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.5505, allocations: 43.98 kB / 0.529 GB, free: 11.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002236/0.5527, allocations: 1.364 MB / 0.5303 GB, free: 10.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5527, allocations: 0 / 0.5303 GB, free: 10.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002214/0.5549, allocations: 0.5898 MB / 0.5309 GB, free: 9.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00711/0.5621, allocations: 4.502 MB / 0.5353 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004725/0.5668, allocations: 2.521 MB / 0.5378 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5668, allocations: 0 / 0.5378 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.5698, allocations: 1.555 MB / 0.5393 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.5728, allocations: 0.4915 MB / 0.5398 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/0.6096, allocations: 21.8 MB / 0.5611 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.6118, allocations: 2.14 MB / 0.5631 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001587/0.6134, allocations: 476.9 kB / 0.5636 GB, free: 7.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.615, allocations: 1.062 MB / 0.5646 GB, free: 6.309 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.615, allocations: 4 kB / 0.5646 GB, free: 6.305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/0.7332, allocations: 53.81 MB / 0.6172 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.54, allocations: 11.92 kB / 0.6172 GB, free: 0.957 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.332644941750914] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]', 'smee.inertiaRotor.phi', 'smee.inertiaRotor.w', 'smee.lesigma.i'] 14.858734005130827 14.868242861 14.461875885 Calling exit ...