Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 109.8 kB / 16.41 MB, free: 6.504 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.318/1.318, allocations: 222.9 MB / 240.1 MB, free: 4.359 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.001327/0.001328, allocations: 192.5 kB / 290.4 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03541/0.03541, allocations: 8.794 MB / 349.3 MB, free: 4.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 83.86 kB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08543, allocations: 51.57 MB / 0.5041 GB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.2101/0.2956, allocations: 25.42 MB / 0.5289 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3076, allocations: 7.941 MB / 0.5367 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.3116, allocations: 172.3 kB / 0.5368 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01533/0.327, allocations: 7.645 MB / 0.5443 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008575/0.3356, allocations: 3.052 MB / 0.5473 GB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.3405, allocations: 2.015 MB / 0.5493 GB, free: 2.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.3516, allocations: 9.217 MB / 0.5583 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02161/0.3732, allocations: 17.27 MB / 0.5751 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.3803, allocations: 4.767 MB / 0.5798 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008083/0.3884, allocations: 5.23 MB / 0.5849 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003025/0.3914, allocations: 1.355 MB / 0.5862 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004869/0.3963, allocations: 1.716 MB / 0.5879 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003284/0.3996, allocations: 2.67 MB / 0.5905 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007824/0.4075, allocations: 5.087 MB / 0.5955 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.4257, allocations: 18.14 MB / 0.6132 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4257, allocations: 0 / 0.6132 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.4257, allocations: 7.984 kB / 0.6132 GB, free: 15.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003231/0.426, allocations: 0 / 0.6132 GB, free: 15.61 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.02915/0.4552, allocations: 10.75 MB / 0.6237 GB, free: 4.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4553, allocations: 8.031 kB / 0.6237 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03466/0.4899, allocations: 5.676 MB / 0.6292 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.5023, allocations: 5.798 MB / 0.6349 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009538/0.5033, allocations: 0.5766 MB / 0.6355 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004258/0.5076, allocations: 0.7666 MB / 0.6362 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.5347, allocations: 12.76 MB / 0.6487 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/0.5349, allocations: 11.91 kB / 0.6487 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.5365, allocations: 326.5 kB / 0.649 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005079/0.5371, allocations: 0.4967 MB / 0.6495 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.559, allocations: 12.25 MB / 0.6614 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06526/0.6243, allocations: 43.25 MB / 0.7037 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02318/0.6475, allocations: 25.19 MB / 0.7283 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004823/0.6524, allocations: 2.974 MB / 0.7312 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004156/0.6528, allocations: 243.3 kB / 0.7314 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3499/1.003, allocations: 2.576 MB / 0.7339 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=391): time 8.736e-06/1.003, allocations: 1.906 kB / 0.7339 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=397): time 0.03292/1.036, allocations: 18.11 MB / 0.7516 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.036, allocations: 355.9 kB / 0.752 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/1.041, allocations: 3.519 MB / 0.7554 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004046/1.041, allocations: 88.52 kB / 0.7555 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.043, allocations: 3.378 MB / 0.7588 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009339/1.044, allocations: 1.349 MB / 0.7601 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/1.045, allocations: 1.081 MB / 0.7611 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/1.045, allocations: 305.1 kB / 0.7614 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/1.048, allocations: 2.551 MB / 0.7639 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/1.052, allocations: 4.513 MB / 0.7683 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006971/1.059, allocations: 7.453 MB / 0.7756 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/1.059, allocations: 15.75 kB / 0.7756 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01088/1.07, allocations: 8.282 MB / 0.7837 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/1.07, allocations: 60.58 kB / 0.7838 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.068e-05/1.07, allocations: 57.88 kB / 0.7838 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/1.072, allocations: 0.9963 MB / 0.7848 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/1.076, allocations: 1.258 MB / 0.786 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00988/1.086, allocations: 8.805 MB / 0.7946 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.09, allocations: 367.6 kB / 0.795 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/1.09, allocations: 264.4 kB / 0.7952 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.003904/1.094, allocations: 2.904 MB / 0.7981 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007764/1.095, allocations: 391.9 kB / 0.7984 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/1.104, allocations: 6.172 MB / 0.8045 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.104, allocations: 27.2 kB / 0.8045 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/1.104, allocations: 0 / 0.8045 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.105, allocations: 0.9178 MB / 0.8054 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/1.106, allocations: 75.94 kB / 0.8055 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.107, allocations: 199.8 kB / 0.8057 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/1.108, allocations: 285.3 kB / 0.8059 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008168/1.116, allocations: 6.073 MB / 0.8119 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008062/1.124, allocations: 7.737 MB / 0.8194 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002245/1.126, allocations: 2.274 MB / 0.8216 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002737/1.129, allocations: 2.363 MB / 0.8239 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of Backend: time 2.7e-07/1.129, allocations: 0 / 0.8239 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008094/1.137, allocations: 4.891 MB / 0.8287 GB, free: 103 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01676/1.154, allocations: 13.02 MB / 0.8414 GB, free: 89.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.09957/1.253, allocations: 74.41 MB / 0.9141 GB, free: 15.98 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1)