Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.335/1.335, allocations: 222.9 MB / 240.1 MB, free: 4.504 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.001286/0.001286, allocations: 192.5 kB / 290.4 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03637/0.03637, allocations: 8.795 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.89 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0774/0.07888, allocations: 51.57 MB / 0.5041 GB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1905/0.2694, allocations: 25.42 MB / 0.529 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.2811, allocations: 7.949 MB / 0.5367 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.2841, allocations: 177.4 kB / 0.5369 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01415/0.2983, allocations: 7.645 MB / 0.5443 GB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.3052, allocations: 3.049 MB / 0.5473 GB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.3096, allocations: 2.008 MB / 0.5493 GB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009639/0.3192, allocations: 9.226 MB / 0.5583 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02214/0.3414, allocations: 17.27 MB / 0.5752 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006266/0.3477, allocations: 4.769 MB / 0.5798 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007106/0.3548, allocations: 5.242 MB / 0.5849 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.3572, allocations: 1.352 MB / 0.5863 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.3611, allocations: 1.708 MB / 0.5879 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.3632, allocations: 2.679 MB / 0.5905 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.3681, allocations: 5.083 MB / 0.5955 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.383, allocations: 18.16 MB / 0.6132 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.383, allocations: 0 / 0.6132 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.383, allocations: 0 / 0.6132 GB, free: 15.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002314/0.3832, allocations: 0 / 0.6132 GB, free: 15.62 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.02644/0.4097, allocations: 10.76 MB / 0.6237 GB, free: 4.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4097, allocations: 8.031 kB / 0.6237 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03284/0.4426, allocations: 5.676 MB / 0.6293 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.4529, allocations: 5.791 MB / 0.6349 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.4534, allocations: 0.581 MB / 0.6355 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.4552, allocations: 0.766 MB / 0.6363 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.4787, allocations: 12.76 MB / 0.6487 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.4789, allocations: 11.91 kB / 0.6487 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.4799, allocations: 322.2 kB / 0.649 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004578/0.4804, allocations: 0.5006 MB / 0.6495 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/0.5009, allocations: 12.25 MB / 0.6615 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05787/0.5588, allocations: 43.25 MB / 0.7037 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/0.5822, allocations: 25.19 MB / 0.7283 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/0.5865, allocations: 2.98 MB / 0.7312 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.5868, allocations: 241.4 kB / 0.7315 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3232/0.91, allocations: 2.58 MB / 0.734 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=391): time 7.624e-06/0.9101, allocations: 1.562 kB / 0.734 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=397): time 0.03388/0.944, allocations: 18.1 MB / 0.7517 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.9441, allocations: 355.9 kB / 0.752 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004763/0.9488, allocations: 3.52 MB / 0.7554 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.9491, allocations: 91.95 kB / 0.7555 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.9506, allocations: 3.376 MB / 0.7588 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007842/0.9514, allocations: 1.346 MB / 0.7601 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.9528, allocations: 1.085 MB / 0.7612 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.164e-05/0.9529, allocations: 305.1 kB / 0.7615 GB, free: 155 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.9562, allocations: 2.552 MB / 0.764 GB, free: 154 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/0.96, allocations: 4.508 MB / 0.7684 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007136/0.9672, allocations: 7.454 MB / 0.7757 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/0.9672, allocations: 19.78 kB / 0.7757 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01121/0.9784, allocations: 8.277 MB / 0.7838 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.9785, allocations: 56.55 kB / 0.7838 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-05/0.9785, allocations: 62.31 kB / 0.7839 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.981, allocations: 0.9942 MB / 0.7848 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/0.985, allocations: 1.263 MB / 0.7861 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.9956, allocations: 8.808 MB / 0.7947 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/0.9993, allocations: 364.8 kB / 0.795 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.9997, allocations: 265.4 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.003466/1.003, allocations: 2.897 MB / 0.7981 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/1.004, allocations: 391.9 kB / 0.7985 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/1.012, allocations: 6.182 MB / 0.8045 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/1.012, allocations: 19.92 kB / 0.8045 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.012, allocations: 0 / 0.8045 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.014, allocations: 0.9178 MB / 0.8054 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/1.014, allocations: 79.56 kB / 0.8055 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.016, allocations: 199.8 kB / 0.8057 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/1.017, allocations: 286.9 kB / 0.806 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00856/1.025, allocations: 6.066 MB / 0.8119 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008082/1.033, allocations: 7.733 MB / 0.8195 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002254/1.035, allocations: 2.282 MB / 0.8217 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002638/1.038, allocations: 2.363 MB / 0.824 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of Backend: time 4.41e-07/1.038, allocations: 4 kB / 0.824 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007831/1.046, allocations: 4.889 MB / 0.8288 GB, free: 103 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01705/1.063, allocations: 13.02 MB / 0.8415 GB, free: 90 MB / 0.5294 GB Notification: Performance of Templates: time 0.09247/1.156, allocations: 73.7 MB / 0.9135 GB, free: 16.7 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1)