Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 120.8 kB / 17.74 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 186.9 kB / 20.68 MB, free: 2.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 55.91 kB / 357.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09813, allocations: 49.43 MB / 406.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01289/0.1111, allocations: 10.19 MB / 417.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006308/0.1174, allocations: 3.217 MB / 420.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.119, allocations: 55.75 kB / 420.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1211, allocations: 0.6986 MB / 421.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.1239, allocations: 0.8348 MB / 421.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1251, allocations: 407.4 kB / 422.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.1289, allocations: 2.965 MB / 425.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/0.1325, allocations: 2.484 MB / 427.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.1346, allocations: 1.347 MB / 429.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2026/0.3372, allocations: 1.686 MB / 430.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008919/0.3382, allocations: 356.4 kB / 431.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.3393, allocations: 451.1 kB / 431.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009276/0.3403, allocations: 1.017 MB / 432.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.3422, allocations: 1.606 MB / 434.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005843/0.348, allocations: 4.693 MB / 438.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3481, allocations: 0 / 438.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3481, allocations: 0 / 438.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001768/0.3483, allocations: 0 / 438.9 MB, free: 7.277 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008936/0.3572, allocations: 3.339 MB / 442.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3573, allocations: 10.5 kB / 442.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006225/0.3579, allocations: 340 kB / 442.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/0.3588, allocations: 346.5 kB / 442.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.3616, allocations: 1.764 MB / 444.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3618, allocations: 173.4 kB / 444.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.3621, allocations: 244.5 kB / 445.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.3676, allocations: 3.134 MB / 448.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.3677, allocations: 10.19 kB / 448.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.368, allocations: 95.94 kB / 448.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/0.3681, allocations: 105.2 kB / 448.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/0.3725, allocations: 2.705 MB / 451.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.3865, allocations: 9.642 MB / 460.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.3894, allocations: 2.174 MB / 463 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3913, allocations: 1.112 MB / 464.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.3916, allocations: 208.1 kB / 464.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3917, allocations: 47.45 kB / 464.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.417e-06/0.3917, allocations: 0 / 464.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01431/0.406, allocations: 6.884 MB / 471.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4061, allocations: 64.72 kB / 471.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.4088, allocations: 1.739 MB / 473 MB, free: 5.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.4089, allocations: 49.7 kB / 473.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009303/0.4098, allocations: 1.181 MB / 474.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.4103, allocations: 477.9 kB / 474.7 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004732/0.4107, allocations: 287.5 kB / 475 MB, free: 3.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4109, allocations: 309 kB / 475.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.4122, allocations: 0.7886 MB / 476.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.4138, allocations: 1.211 MB / 477.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.4169, allocations: 2.09 MB / 479.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4169, allocations: 4 kB / 479.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005377/0.4223, allocations: 2.688 MB / 482.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.4223, allocations: 10.19 kB / 482.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.4224, allocations: 12 kB / 482.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4234, allocations: 419.3 kB / 482.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4247, allocations: 364.8 kB / 482.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.4325, allocations: 7.084 MB / 489.9 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.4344, allocations: 111.9 kB / 490.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.4346, allocations: 64 kB / 490.1 MB, free: 3.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001771/0.4364, allocations: 0.7956 MB / 490.9 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.437, allocations: 190.8 kB / 491.1 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.4414, allocations: 2.376 MB / 493.5 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.4414, allocations: 15.94 kB / 493.5 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4414, allocations: 7.984 kB / 493.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.4415, allocations: 3.984 kB / 493.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/0.4508, allocations: 5.113 MB / 498.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4508, allocations: 4 kB / 498.6 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4518, allocations: 236 kB / 498.9 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.453, allocations: 450.5 kB / 499.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.4531, allocations: 35.98 kB / 499.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008759/0.4619, allocations: 8.642 MB / 0.4961 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.4619, allocations: 6.625 kB / 0.4961 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006111/0.468, allocations: 3.531 MB / 0.4995 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.4694, allocations: 443.9 kB / 0.4999 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006277/0.47, allocations: 32 kB / 0.5 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.4713, allocations: 87.89 kB / 0.5001 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.4717, allocations: 119.5 kB / 0.5002 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.4718, allocations: 39.98 kB / 0.5002 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002391/0.4742, allocations: 1.198 MB / 0.5014 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4742, allocations: 0 / 0.5014 GB, free: 12.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002346/0.4765, allocations: 0.4999 MB / 0.5019 GB, free: 11.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.006553/0.4831, allocations: 4.187 MB / 0.506 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004351/0.4875, allocations: 2.467 MB / 0.5084 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4875, allocations: 0 / 0.5084 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.4904, allocations: 1.609 MB / 0.5099 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.4939, allocations: 483.2 kB / 0.5104 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/0.533, allocations: 19.5 MB / 0.5294 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.5358, allocations: 1.997 MB / 0.5314 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001658/0.5375, allocations: 443.5 kB / 0.5318 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/0.5391, allocations: 0.9211 MB / 0.5327 GB, free: 11.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5392, allocations: 0 / 0.5327 GB, free: 11.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/0.6769, allocations: 47.84 MB / 0.5794 GB, free: 11.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.13/26.81, allocations: 3.125 kB / 0.5794 GB, free: 11.88 MB / 494.1 MB " [Timeout remaining time 633] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.273077176883817] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smr.is[1]', 'smr.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]'] 26.919441832927987 26.944817466 26.592323897 Calling exit ...