Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.001233/0.001233, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.00133/0.00133, allocations: 207.2 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 207.6 MB / 232.5 MB, free: 11.49 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 59.92 kB / 343 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2408, allocations: 49.12 MB / 392.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01021/0.2511, allocations: 10.2 MB / 402.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.2574, allocations: 3.292 MB / 405.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.2592, allocations: 66.47 kB / 405.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.2614, allocations: 0.7457 MB / 406.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.2643, allocations: 0.8806 MB / 407.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.2653, allocations: 410.1 kB / 407.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003366/0.2686, allocations: 2.971 MB / 410.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.2709, allocations: 1.747 MB / 412.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.2731, allocations: 1.377 MB / 413.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.2756, allocations: 1.736 MB / 415.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005234/0.2761, allocations: 355.1 kB / 415.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009465/0.2771, allocations: 462.9 kB / 416.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009939/0.2781, allocations: 1.027 MB / 417.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.2799, allocations: 1.604 MB / 419 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.2847, allocations: 4.694 MB / 423.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2847, allocations: 0 / 423.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2847, allocations: 0 / 423.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.497e-05/0.2848, allocations: 1.188 kB / 423.7 MB, free: 4.25 MB / 334.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.006542/0.2914, allocations: 3.339 MB / 427 MB, free: 1.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2914, allocations: 15.97 kB / 427 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.704e-05/0.2915, allocations: 60.84 kB / 427.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004326/0.2919, allocations: 333.6 kB / 427.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.2927, allocations: 350.9 kB / 427.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.2954, allocations: 1.664 MB / 429.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.2956, allocations: 180.7 kB / 429.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.2959, allocations: 235.9 kB / 429.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005022/0.3009, allocations: 3.133 MB / 432.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.035e-05/0.301, allocations: 4 kB / 433 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.3012, allocations: 92 kB / 433 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.3013, allocations: 108.6 kB / 433.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/0.3059, allocations: 2.704 MB / 435.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.3218, allocations: 9.648 MB / 445.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.3246, allocations: 2.08 MB / 447.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.3266, allocations: 1.049 MB / 448.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.3269, allocations: 203.2 kB / 448.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.3269, allocations: 47.56 kB / 448.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.286e-06/0.3269, allocations: 4 kB / 448.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01509/0.342, allocations: 6.737 MB / 455.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.3421, allocations: 72.7 kB / 455.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.3449, allocations: 1.747 MB / 457.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.3451, allocations: 49.64 kB / 457.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009195/0.3461, allocations: 1.186 MB / 458.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004568/0.3465, allocations: 471.9 kB / 459.1 MB, free: 296 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005112/0.347, allocations: 295.5 kB / 459.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3471, allocations: 305.1 kB / 459.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3485, allocations: 0.7924 MB / 460.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.3502, allocations: 1.198 MB / 461.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.3533, allocations: 2.095 MB / 463.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3533, allocations: 4 kB / 463.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004658/0.3579, allocations: 2.675 MB / 466.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3579, allocations: 8 kB / 466.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.358, allocations: 16 kB / 466.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.359, allocations: 415.5 kB / 466.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3603, allocations: 359.4 kB / 467.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/0.3677, allocations: 7.088 MB / 474.3 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.3692, allocations: 107.9 kB / 474.5 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.3693, allocations: 67.94 kB / 474.5 MB, free: 72 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.001366/0.3707, allocations: 0.7978 MB / 475.3 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.3711, allocations: 194.8 kB / 475.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.3752, allocations: 2.356 MB / 477.9 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.3752, allocations: 16 kB / 477.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3753, allocations: 4 kB / 477.9 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3753, allocations: 7.969 kB / 477.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/0.3838, allocations: 5.075 MB / 483 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3839, allocations: 4.469 kB / 483 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.3849, allocations: 243.6 kB / 483.2 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.386, allocations: 446.9 kB / 483.6 MB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.865e-05/0.3861, allocations: 39.98 kB / 483.7 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008545/0.3947, allocations: 8.644 MB / 492.3 MB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.3947, allocations: 8 kB / 492.3 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/0.4006, allocations: 3.522 MB / 495.9 MB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.4017, allocations: 447.8 kB / 496.3 MB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.4019, allocations: 31.98 kB / 496.3 MB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/0.4029, allocations: 87.91 kB / 496.4 MB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.4032, allocations: 128.6 kB / 496.5 MB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.4033, allocations: 39.98 kB / 496.6 MB, free: 9.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.405, allocations: 1.194 MB / 497.8 MB, free: 7.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.405, allocations: 0 / 497.8 MB, free: 7.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001797/0.4068, allocations: 0.5038 MB / 498.3 MB, free: 7.434 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 111 * 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.006073/0.4129, allocations: 4.17 MB / 0.4907 GB, free: 3.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00405/0.417, allocations: 2.387 MB / 0.493 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.417, allocations: 0 / 0.493 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002596/0.4196, allocations: 1.563 MB / 0.4945 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.4219, allocations: 473.9 kB / 0.495 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.4529, allocations: 19.52 MB / 0.514 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.4549, allocations: 1.997 MB / 0.516 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.4561, allocations: 447.4 kB / 0.5164 GB, free: 7.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.4574, allocations: 0.9171 MB / 0.5173 GB, free: 6.984 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4574, allocations: 0 / 0.5173 GB, free: 6.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2467/0.7042, allocations: 48.26 MB / 0.5644 GB, free: 151.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 25.5/26.21, allocations: 10.92 kB / 0.5645 GB, free: 151.9 MB / 478.1 MB " [Timeout remaining time 634] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.495562900963705] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smee.is[1]', 'smee.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]'] 26.37093911197735 26.380853012 26.093930491 Calling exit ...