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.SMPM_NoLoad.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.001408/0.001408, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001616/0.001616, allocations: 220.5 kB / 22.92 MB, free: 5.535 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.28/1.28, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.SMPM_NoLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",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.001836/0.001836, allocations: 60.14 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2114, allocations: 53.32 MB / 429.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01021/0.2216, allocations: 9.195 MB / 438.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005233/0.2268, allocations: 3.201 MB / 441.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.2276, allocations: 43.81 kB / 441.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.2291, allocations: 0.7186 MB / 442.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2309, allocations: 0.7574 MB / 443.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.2315, allocations: 327.4 kB / 443.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.2336, allocations: 2.136 MB / 445.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.2347, allocations: 0.8398 MB / 446.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2359, allocations: 0.9303 MB / 447.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.2373, allocations: 1.175 MB / 448.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.2377, allocations: 232 kB / 449 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006012/0.2383, allocations: 339.8 kB / 449.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.2389, allocations: 0.6855 MB / 450 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.24, allocations: 1.089 MB / 451.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.243, allocations: 3.154 MB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.243, allocations: 4 kB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.243, allocations: 4 kB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.574e-05/0.2431, allocations: 0 / 454.2 MB, free: 14.57 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.00414/0.2472, allocations: 2.353 MB / 456.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2473, allocations: 12.03 kB / 456.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002854/0.2476, allocations: 228.4 kB / 456.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/0.2482, allocations: 247.5 kB / 457 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.25, allocations: 1.244 MB / 458.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.2501, allocations: 115.2 kB / 458.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.2504, allocations: 156 kB / 458.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.2535, allocations: 2.029 MB / 460.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.2535, allocations: 7.891 kB / 460.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.2537, allocations: 68 kB / 460.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/0.2537, allocations: 78.92 kB / 460.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.2564, allocations: 1.678 MB / 462.4 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009296/0.2657, allocations: 7.059 MB / 469.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.2666, allocations: 456.6 kB / 469.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.267, allocations: 262 kB / 470.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.2672, allocations: 113.5 kB / 470.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2672, allocations: 39 kB / 470.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.2672, allocations: 0 / 470.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006616/0.2739, allocations: 3.068 MB / 473.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2739, allocations: 55.97 kB / 473.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.276, allocations: 1.632 MB / 475.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.2761, allocations: 37.7 kB / 475.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007603/0.2768, allocations: 1.068 MB / 476.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.277, allocations: 242.1 kB / 476.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.2774, allocations: 323.3 kB / 476.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2775, allocations: 305.1 kB / 477 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/0.2784, allocations: 0.5231 MB / 477.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.2798, allocations: 1.462 MB / 479 MB, free: 4.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.2824, allocations: 2.134 MB / 481.2 MB, free: 2.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.2825, allocations: 12 kB / 481.2 MB, free: 2.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003501/0.286, allocations: 2.169 MB / 483.3 MB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.286, allocations: 16 kB / 483.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.286, allocations: 32 kB / 483.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/0.2865, allocations: 226.7 kB / 483.6 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.2876, allocations: 403.2 kB / 484 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.2893, allocations: 1.844 MB / 485.8 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.2905, allocations: 151.6 kB / 486 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.2907, allocations: 92 kB / 486.1 MB, free: 12.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000812/0.2915, allocations: 0.5906 MB / 486.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.2917, allocations: 167 kB / 486.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.2936, allocations: 1.086 MB / 487.9 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.2937, allocations: 8 kB / 487.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2937, allocations: 0 / 487.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2937, allocations: 0 / 487.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.2979, allocations: 2.76 MB / 490.7 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2979, allocations: 7.938 kB / 490.7 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.2984, allocations: 120 kB / 490.8 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.2988, allocations: 170.4 kB / 491 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.2989, allocations: 15.98 kB / 491 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.3005, allocations: 1.782 MB / 492.8 MB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3005, allocations: 3.969 kB / 492.8 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.3029, allocations: 1.636 MB / 494.4 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.3034, allocations: 312 kB / 494.7 MB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.3035, allocations: 12 kB / 494.7 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.3041, allocations: 56 kB / 494.8 MB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3042, allocations: 48.38 kB / 494.8 MB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.3043, allocations: 16 kB / 494.9 MB, free: 3.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.3057, allocations: 1.083 MB / 495.9 MB, free: 2.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3057, allocations: 0 / 495.9 MB, free: 2.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001246/0.3069, allocations: 360 kB / 496.3 MB, free: 2.398 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(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.002918/0.3099, allocations: 2.263 MB / 498.5 MB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0025/0.3124, allocations: 1.568 MB / 0.4884 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3124, allocations: 0 / 0.4884 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.3134, allocations: 0.7284 MB / 0.4891 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.315, allocations: 413.8 kB / 0.4895 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/0.3346, allocations: 15 MB / 0.5041 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.3357, allocations: 1.465 MB / 0.5056 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009116/0.3367, allocations: 358 kB / 0.5059 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/0.3374, allocations: 0.6399 MB / 0.5065 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3374, allocations: 4 kB / 0.5065 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07742/0.4149, allocations: 35.87 MB / 0.5416 GB, free: 7.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.44, allocations: 3.938 kB / 0.5416 GB, free: 7.152 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.32 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.712954524999077]