Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 109.3 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.1 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 184.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03655/0.03655, allocations: 8.791 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.86 kB / 464.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.0798, allocations: 51.55 MB / 0.5041 GB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1944/0.2742, allocations: 25.44 MB / 0.529 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.2864, allocations: 7.941 MB / 0.5367 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.2899, allocations: 173.4 kB / 0.5369 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.3046, allocations: 7.657 MB / 0.5444 GB, free: 3.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.3122, allocations: 3.046 MB / 0.5473 GB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.3166, allocations: 2.01 MB / 0.5493 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009635/0.3263, allocations: 9.216 MB / 0.5583 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02247/0.3488, allocations: 17.27 MB / 0.5752 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006367/0.3551, allocations: 4.764 MB / 0.5798 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007338/0.3625, allocations: 5.237 MB / 0.5849 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002489/0.365, allocations: 1.355 MB / 0.5862 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.3691, allocations: 1.715 MB / 0.5879 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.3714, allocations: 2.672 MB / 0.5905 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005224/0.3767, allocations: 5.083 MB / 0.5955 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.3923, allocations: 18.16 MB / 0.6132 GB, free: 15.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3924, allocations: 0 / 0.6132 GB, free: 15.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3924, allocations: 0 / 0.6132 GB, free: 15.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002458/0.3926, allocations: 0 / 0.6132 GB, free: 15.59 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.02622/0.4188, allocations: 10.75 MB / 0.6237 GB, free: 4.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4189, allocations: 12.03 kB / 0.6237 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/0.4516, allocations: 5.681 MB / 0.6293 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009926/0.4616, allocations: 5.787 MB / 0.6349 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.462, allocations: 0.5776 MB / 0.6355 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.4634, allocations: 0.7763 MB / 0.6363 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.4843, allocations: 12.76 MB / 0.6487 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.4844, allocations: 11.89 kB / 0.6487 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008784/0.4853, allocations: 323.6 kB / 0.649 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004683/0.4858, allocations: 0.5006 MB / 0.6495 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.5059, allocations: 12.25 MB / 0.6615 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06149/0.5674, allocations: 43.24 MB / 0.7037 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02219/0.5896, allocations: 25.19 MB / 0.7283 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004558/0.5942, allocations: 2.976 MB / 0.7312 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.5946, allocations: 247.7 kB / 0.7315 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3306/0.9252, allocations: 2.581 MB / 0.734 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=391): time 8.697e-06/0.9253, allocations: 0 / 0.734 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=397): time 0.03374/0.959, allocations: 18.1 MB / 0.7517 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.9591, allocations: 353.2 kB / 0.752 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004768/0.9639, allocations: 3.52 MB / 0.7554 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003404/0.9642, allocations: 93.06 kB / 0.7555 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.9658, allocations: 3.38 MB / 0.7588 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008573/0.9666, allocations: 1.349 MB / 0.7601 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.968, allocations: 1.078 MB / 0.7612 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.33e-05/0.9681, allocations: 305.1 kB / 0.7615 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/0.9714, allocations: 2.551 MB / 0.764 GB, free: 154 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003634/0.975, allocations: 4.517 MB / 0.7684 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/0.982, allocations: 7.45 MB / 0.7757 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/0.982, allocations: 15.88 kB / 0.7757 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01109/0.9931, allocations: 8.275 MB / 0.7838 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.9932, allocations: 56.39 kB / 0.7838 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-05/0.9932, allocations: 63.22 kB / 0.7839 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.9957, allocations: 1.002 MB / 0.7849 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/0.9995, allocations: 1.253 MB / 0.7861 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/1.01, allocations: 8.815 MB / 0.7947 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.013, allocations: 363.2 kB / 0.795 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/1.014, allocations: 264.3 kB / 0.7953 GB, free: 136.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003416/1.017, allocations: 2.897 MB / 0.7981 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/1.018, allocations: 391.2 kB / 0.7985 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008593/1.027, allocations: 6.176 MB / 0.8045 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/1.027, allocations: 19.92 kB / 0.8045 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.027, allocations: 0 / 0.8045 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.028, allocations: 0.9237 MB / 0.8054 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/1.029, allocations: 75.94 kB / 0.8055 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.03, allocations: 199.8 kB / 0.8057 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/1.031, allocations: 286.9 kB / 0.806 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008358/1.039, allocations: 6.07 MB / 0.8119 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007995/1.047, allocations: 7.737 MB / 0.8195 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002218/1.049, allocations: 2.278 MB / 0.8217 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002616/1.052, allocations: 2.367 MB / 0.824 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of Backend: time 3.11e-07/1.052, allocations: 1.641 kB / 0.824 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007643/1.06, allocations: 4.888 MB / 0.8288 GB, free: 103 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01589/1.076, allocations: 13.02 MB / 0.8415 GB, free: 89.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.09323/1.169, allocations: 73.7 MB / 0.9135 GB, free: 16.62 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1)