Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004772, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2476, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.02089/0.2686, allocations: 18.86 MB / 345.3 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.2831, allocations: 6.798 MB / 352.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.2869, allocations: 119.4 kB / 352.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.2902, allocations: 1.251 MB / 353.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007194/0.2975, allocations: 2.064 MB / 355.5 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.3005, allocations: 0.9397 MB / 356.5 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.3124, allocations: 5.764 MB / 362.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006849/0.3193, allocations: 4.857 MB / 367.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.324, allocations: 2.736 MB / 369.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/0.3297, allocations: 3.296 MB / 373.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.3314, allocations: 460 kB / 373.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.334, allocations: 0.6598 MB / 374.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.3361, allocations: 1.85 MB / 376.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.3387, allocations: 1.572 MB / 377.7 MB, free: 112 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.3524, allocations: 11.68 MB / 389.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3524, allocations: 0 / 389.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3524, allocations: 0 / 389.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004662/0.3529, allocations: 0 / 389.4 MB, free: 4.395 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01968/0.3726, allocations: 7.528 MB / 396.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3727, allocations: 8.031 kB / 396.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007127/0.3798, allocations: 1.31 MB / 398.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.391, allocations: 4.889 MB / 403.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005126/0.3916, allocations: 0.4938 MB / 403.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.3934, allocations: 0.6716 MB / 404.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/0.4126, allocations: 9.344 MB / 413.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.4128, allocations: 15.83 kB / 413.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007306/0.4135, allocations: 284 kB / 413.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002754/0.4138, allocations: 293.4 kB / 414.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.4323, allocations: 8.051 MB / 422.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05942/0.4918, allocations: 29.52 MB / 451.7 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3867/0.8785, allocations: 11.96 MB / 463.7 MB, free: 92.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/0.8945, allocations: 6.882 MB / 470.6 MB, free: 90.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.8946, allocations: 73.25 kB / 470.7 MB, free: 90.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=316): time 4.859e-06/0.8946, allocations: 3.219 kB / 470.7 MB, free: 90.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=335): time 0.02617/0.9208, allocations: 16.44 MB / 487.1 MB, free: 82.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9209, allocations: 88.7 kB / 487.2 MB, free: 82.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.9256, allocations: 3.921 MB / 491.1 MB, free: 79.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003608/0.926, allocations: 81.36 kB / 491.2 MB, free: 79.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.9275, allocations: 3.082 MB / 494.3 MB, free: 76.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007335/0.9283, allocations: 1.13 MB / 495.4 MB, free: 75.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.9284, allocations: 80 kB / 495.5 MB, free: 75.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9286, allocations: 466.2 kB / 495.9 MB, free: 75.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.931, allocations: 1.909 MB / 497.8 MB, free: 73.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.9336, allocations: 2.859 MB / 0.489 GB, free: 70.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.9363, allocations: 2.351 MB / 0.4913 GB, free: 67.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.9363, allocations: 8 kB / 0.4913 GB, free: 67.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.008268/0.9446, allocations: 6.513 MB / 0.4976 GB, free: 61.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.9446, allocations: 18.84 kB / 0.4977 GB, free: 61.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.9447, allocations: 28.88 kB / 0.4977 GB, free: 61.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.9471, allocations: 1.28 MB / 0.4989 GB, free: 59.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/0.9499, allocations: 0.8417 MB / 0.4998 GB, free: 58.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.9638, allocations: 21.18 MB / 0.5204 GB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/0.9677, allocations: 212.1 kB / 0.5206 GB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/0.9682, allocations: 156 kB / 0.5208 GB, free: 35.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(2,100.0%) 14,(1,100.0%) 8,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004101/0.9723, allocations: 2.183 MB / 0.5229 GB, free: 33.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.9733, allocations: 450.6 kB / 0.5234 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008541/0.9819, allocations: 6.201 MB / 0.5294 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.9819, allocations: 32 kB / 0.5294 GB, free: 26.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/0.982, allocations: 27.95 kB / 0.5295 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.982, allocations: 15.94 kB / 0.5295 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.001, allocations: 12.58 MB / 0.5418 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.001, allocations: 4.375 kB / 0.5418 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.003, allocations: 475.4 kB / 0.5422 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/1.007, allocations: 1.627 MB / 0.5438 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/1.007, allocations: 79.97 kB / 0.5439 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/1.033, allocations: 30.76 MB / 0.5739 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.06e-05/1.033, allocations: 12 kB / 0.5739 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.048, allocations: 9.206 MB / 0.5829 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003294/1.051, allocations: 0.9212 MB / 0.5838 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008762/1.052, allocations: 67.98 kB / 0.5839 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.054, allocations: 212.3 kB / 0.5841 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007334/1.055, allocations: 286 kB / 0.5844 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.055, allocations: 83.98 kB / 0.5844 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004343/1.059, allocations: 2.654 MB / 0.587 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.059, allocations: 0 / 0.587 GB, free: 13.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004826/1.064, allocations: 1.35 MB / 0.5884 GB, free: 11.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006169/1.065, allocations: 240.6 kB / 0.5886 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009514/1.074, allocations: 6.47 MB / 0.5949 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.074, allocations: 4 kB / 0.5949 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007114/1.081, allocations: 4.871 MB / 0.5997 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006523/1.088, allocations: 1.244 MB / 0.6009 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2351/1.323, allocations: 15.85 MB / 0.6164 GB, free: 144.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006636/1.33, allocations: 4.615 MB / 0.6209 GB, free: 144.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004215/1.334, allocations: 1.064 MB / 0.6219 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/1.335, allocations: 276.6 kB / 0.6222 GB, free: 144 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/1.335, allocations: 0 / 0.6222 GB, free: 144 MB / 446.1 MB Notification: Performance of Templates: time 0.1163/1.451, allocations: 68.4 MB / 0.689 GB, free: 90.47 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1) Environment - environmentSimulation: