Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001263/0.001263, allocations: 120.8 kB / 17.74 MB, free: 5.332 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.001259/0.00126, allocations: 186.9 kB / 20.68 MB, free: 2.402 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.422/1.422, allocations: 222.9 MB / 246.4 MB, free: 4.188 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.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 357.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 49.44 MB / 406.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01033/0.1152, allocations: 7.978 MB / 414.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005428/0.1207, allocations: 2.595 MB / 417.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1219, allocations: 23.94 kB / 417.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.1238, allocations: 0.5403 MB / 418.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1256, allocations: 460.4 kB / 418.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.1264, allocations: 235.8 kB / 418.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.1289, allocations: 1.428 MB / 420.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.1301, allocations: 0.5924 MB / 420.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.1311, allocations: 0.533 MB / 421.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.1322, allocations: 0.5833 MB / 421.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.1325, allocations: 136 kB / 422 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.1331, allocations: 180 kB / 422.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.1334, allocations: 275 kB / 422.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.1346, allocations: 0.6453 MB / 423.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.1368, allocations: 1.704 MB / 424.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1368, allocations: 0 / 424.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1369, allocations: 4 kB / 424.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.1369, allocations: 0 / 424.8 MB, free: 5.328 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002444/0.1393, allocations: 1.459 MB / 426.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1394, allocations: 12.03 kB / 426.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.1396, allocations: 148.3 kB / 426.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.1401, allocations: 180 kB / 426.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.1413, allocations: 0.7305 MB / 427.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.1414, allocations: 66 kB / 427.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1415, allocations: 96 kB / 427.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1431, allocations: 0.9229 MB / 428.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.1431, allocations: 19.88 kB / 428.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.1432, allocations: 36 kB / 428.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.1432, allocations: 27.94 kB / 428.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1445, allocations: 0.6246 MB / 429.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1983/0.3428, allocations: 3.881 MB / 433 MB, free: 20.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.3434, allocations: 350.9 kB / 433.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.3436, allocations: 147.4 kB / 433.5 MB, free: 20.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3437, allocations: 12.2 kB / 433.5 MB, free: 20.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3437, allocations: 37.09 kB / 433.5 MB, free: 20.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.297e-06/0.3437, allocations: 2.25 kB / 433.6 MB, free: 20.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002047/0.3457, allocations: 1.201 MB / 434.8 MB, free: 19.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3458, allocations: 81.44 kB / 434.8 MB, free: 19.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/0.3467, allocations: 0.8227 MB / 435.7 MB, free: 19.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3468, allocations: 34.42 kB / 435.7 MB, free: 19.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.3471, allocations: 0.5868 MB / 436.3 MB, free: 19.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.3472, allocations: 135 kB / 436.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3473, allocations: 124.5 kB / 436.5 MB, free: 19.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.3474, allocations: 336.3 kB / 436.9 MB, free: 18.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.3477, allocations: 149 kB / 437 MB, free: 18.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.3482, allocations: 459.9 kB / 437.5 MB, free: 18.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.3491, allocations: 0.6367 MB / 438.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3491, allocations: 3.031 kB / 438.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001155/0.3502, allocations: 0.6922 MB / 438.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3503, allocations: 12.61 kB / 438.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3503, allocations: 10.56 kB / 438.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.3505, allocations: 34.77 kB / 438.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.3509, allocations: 160.5 kB / 439 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007627/0.3517, allocations: 1.388 MB / 440.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.3522, allocations: 34.39 kB / 440.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.3523, allocations: 36.08 kB / 440.5 MB, free: 16.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.3526, allocations: 258.3 kB / 440.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3527, allocations: 91.89 kB / 440.8 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.3534, allocations: 376.7 kB / 441.2 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3535, allocations: 3.312 kB / 441.2 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.3535, allocations: 1.688 kB / 441.2 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3535, allocations: 1.969 kB / 441.2 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3553, allocations: 1.266 MB / 442.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3553, allocations: 6.812 kB / 442.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3556, allocations: 73.47 kB / 442.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.381e-05/0.3557, allocations: 19.3 kB / 442.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.3557, allocations: 17 kB / 442.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/0.3564, allocations: 1.373 MB / 443.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3564, allocations: 6.375 kB / 443.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009067/0.3573, allocations: 0.6376 MB / 444.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.3575, allocations: 192.7 kB / 444.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.3576, allocations: 12.34 kB / 444.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.3579, allocations: 21.97 kB / 444.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.358, allocations: 30.09 kB / 444.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.3581, allocations: 13.27 kB / 444.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000738/0.3588, allocations: 0.5571 MB / 445.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3588, allocations: 0 / 445.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007083/0.3595, allocations: 192.4 kB / 445.6 MB, free: 13.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.001195/0.3607, allocations: 1.206 MB / 446.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009344/0.3617, allocations: 0.5198 MB / 447.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3617, allocations: 0 / 447.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.3621, allocations: 266.2 kB / 447.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.363, allocations: 217.6 kB / 447.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/0.3721, allocations: 7.119 MB / 454.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.3726, allocations: 0.9902 MB / 455.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.3731, allocations: 104.9 kB / 456 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.3735, allocations: 364.5 kB / 456.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3735, allocations: 0 / 456.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.4255, allocations: 17.92 MB / 474.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 4.062 kB / 474.3 MB, free: 12.03 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.231692268978804] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.923540143063292 11.947428213 11.806199013 Calling exit ...