Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 109.6 kB / 16.41 MB, free: 6.512 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.325/1.325, allocations: 222.9 MB / 240.1 MB, free: 4.371 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.001245/0.001245, allocations: 196.4 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03557/0.03557, allocations: 8.802 MB / 349.3 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 83.88 kB / 464.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07848/0.07998, allocations: 51.56 MB / 0.5041 GB, free: 9.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.2002/0.2802, allocations: 25.44 MB / 0.529 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.2922, allocations: 7.947 MB / 0.5367 GB, free: 4.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.2946, allocations: 170.9 kB / 0.5369 GB, free: 4.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01373/0.3083, allocations: 7.644 MB / 0.5443 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006997/0.3154, allocations: 3.047 MB / 0.5473 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.3194, allocations: 2.014 MB / 0.5493 GB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009148/0.3285, allocations: 9.232 MB / 0.5583 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01944/0.348, allocations: 17.26 MB / 0.5752 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/0.354, allocations: 4.766 MB / 0.5798 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005862/0.3599, allocations: 5.242 MB / 0.5849 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.3615, allocations: 1.355 MB / 0.5863 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.3643, allocations: 1.719 MB / 0.5879 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.3662, allocations: 2.668 MB / 0.5905 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004846/0.3711, allocations: 5.09 MB / 0.5955 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.3865, allocations: 18.15 MB / 0.6132 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3866, allocations: 4 kB / 0.6132 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3866, allocations: 0 / 0.6132 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002683/0.3868, allocations: 0 / 0.6132 GB, free: 15.57 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.02701/0.4139, allocations: 10.76 MB / 0.6237 GB, free: 4.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4139, allocations: 8.031 kB / 0.6237 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03223/0.4462, allocations: 5.676 MB / 0.6293 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009727/0.4559, allocations: 5.796 MB / 0.635 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.4563, allocations: 0.5805 MB / 0.6355 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.4577, allocations: 0.7609 MB / 0.6363 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/0.4785, allocations: 12.76 MB / 0.6487 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.4787, allocations: 11.89 kB / 0.6487 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008639/0.4795, allocations: 329.1 kB / 0.649 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000455/0.48, allocations: 0.4928 MB / 0.6495 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.4989, allocations: 12.25 MB / 0.6615 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0537/0.5526, allocations: 43.25 MB / 0.7037 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/0.5746, allocations: 25.19 MB / 0.7283 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/0.5787, allocations: 2.978 MB / 0.7312 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.579, allocations: 242.4 kB / 0.7315 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1862/0.7653, allocations: 2.581 MB / 0.734 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=391): time 8.576e-06/0.7653, allocations: 0 / 0.734 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=397): time 0.0332/0.7985, allocations: 18.11 MB / 0.7517 GB, free: 162 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.7986, allocations: 355 kB / 0.752 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004628/0.8033, allocations: 3.52 MB / 0.7554 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.8035, allocations: 87.92 kB / 0.7555 GB, free: 161 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.8049, allocations: 3.379 MB / 0.7588 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/0.8057, allocations: 1.347 MB / 0.7601 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.8071, allocations: 1.075 MB / 0.7612 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.015e-05/0.8071, allocations: 310.4 kB / 0.7615 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.8104, allocations: 2.552 MB / 0.764 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/0.814, allocations: 4.51 MB / 0.7684 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/0.821, allocations: 7.456 MB / 0.7757 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/0.821, allocations: 15.84 kB / 0.7757 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01097/0.832, allocations: 8.271 MB / 0.7838 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.8321, allocations: 63 kB / 0.7838 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.255e-05/0.8321, allocations: 67.34 kB / 0.7839 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.8346, allocations: 0.9946 MB / 0.7849 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/0.8384, allocations: 1.26 MB / 0.7861 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.8488, allocations: 8.809 MB / 0.7947 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.8524, allocations: 361.6 kB / 0.795 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.8527, allocations: 267.9 kB / 0.7953 GB, free: 138.3 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.003418/0.8561, allocations: 2.904 MB / 0.7981 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.8567, allocations: 383.2 kB / 0.7985 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008606/0.8654, allocations: 6.176 MB / 0.8045 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/0.8654, allocations: 23.92 kB / 0.8045 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8654, allocations: 0.5625 kB / 0.8045 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.8666, allocations: 0.9217 MB / 0.8054 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/0.8672, allocations: 71.94 kB / 0.8055 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.869, allocations: 202.8 kB / 0.8057 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.8695, allocations: 282.9 kB / 0.806 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008486/0.878, allocations: 6.076 MB / 0.8119 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008059/0.886, allocations: 7.733 MB / 0.8195 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002248/0.8883, allocations: 2.278 MB / 0.8217 GB, free: 112 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002575/0.8909, allocations: 2.363 MB / 0.824 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of Backend: time 3.41e-07/0.8909, allocations: 0 / 0.824 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007576/0.8985, allocations: 4.891 MB / 0.8288 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01602/0.9145, allocations: 13.03 MB / 0.8415 GB, free: 91.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.08871/1.003, allocations: 73.7 MB / 0.9135 GB, free: 18.46 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1)