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.001069/0.001069, allocations: 113.3 kB / 16.42 MB, free: 6.02 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.338/1.338, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.00127/0.00127, allocations: 192.4 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03548/0.03548, allocations: 8.787 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 79.88 kB / 464.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08935, allocations: 51.56 MB / 0.5041 GB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.202/0.2914, allocations: 25.44 MB / 0.529 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3032, allocations: 7.944 MB / 0.5367 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.306, allocations: 170.4 kB / 0.5369 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01447/0.3205, allocations: 7.687 MB / 0.5444 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.3294, allocations: 3.106 MB / 0.5474 GB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.3345, allocations: 2.002 MB / 0.5494 GB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.3461, allocations: 9.232 MB / 0.5584 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02189/0.368, allocations: 17.27 MB / 0.5752 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006055/0.3741, allocations: 4.773 MB / 0.5799 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006579/0.3807, allocations: 5.231 MB / 0.585 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002449/0.3832, allocations: 1.355 MB / 0.5863 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.387, allocations: 1.715 MB / 0.588 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.3891, allocations: 2.671 MB / 0.5906 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004938/0.3941, allocations: 5.091 MB / 0.5956 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.4099, allocations: 18.15 MB / 0.6133 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4099, allocations: 0 / 0.6133 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.41, allocations: 0 / 0.6133 GB, free: 15.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000269/0.4102, allocations: 0 / 0.6133 GB, free: 15.51 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.0255/0.4357, allocations: 10.76 MB / 0.6238 GB, free: 4.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4358, allocations: 8.031 kB / 0.6238 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03231/0.4681, allocations: 5.678 MB / 0.6294 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.4807, allocations: 5.788 MB / 0.635 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.4812, allocations: 0.5887 MB / 0.6356 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.4833, allocations: 0.76 MB / 0.6364 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.5044, allocations: 12.76 MB / 0.6488 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.5046, allocations: 11.89 kB / 0.6488 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000872/0.5055, allocations: 325.8 kB / 0.6491 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004462/0.5059, allocations: 0.4928 MB / 0.6496 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.5258, allocations: 12.25 MB / 0.6616 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0621/0.5879, allocations: 43.24 MB / 0.7038 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02253/0.6105, allocations: 25.19 MB / 0.7284 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004595/0.6151, allocations: 2.988 MB / 0.7313 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/0.6155, allocations: 247.3 kB / 0.7316 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.197/0.8125, allocations: 2.572 MB / 0.7341 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=391): time 1.239e-05/0.8125, allocations: 0 / 0.7341 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=397): time 0.03878/0.8513, allocations: 18.1 MB / 0.7517 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.8514, allocations: 352.3 kB / 0.7521 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005151/0.8566, allocations: 3.519 MB / 0.7555 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.8571, allocations: 91.92 kB / 0.7556 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.8586, allocations: 3.381 MB / 0.7589 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.8597, allocations: 1.35 MB / 0.7602 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.8611, allocations: 1.077 MB / 0.7613 GB, free: 157 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.8612, allocations: 306.6 kB / 0.7616 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.8647, allocations: 2.551 MB / 0.7641 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/0.8687, allocations: 4.514 MB / 0.7685 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007549/0.8763, allocations: 7.449 MB / 0.7757 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.844e-05/0.8764, allocations: 19.69 kB / 0.7758 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01221/0.8886, allocations: 8.276 MB / 0.7838 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.8887, allocations: 55.42 kB / 0.7839 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.011e-05/0.8888, allocations: 60.81 kB / 0.784 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.8913, allocations: 1.007 MB / 0.7849 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/0.8956, allocations: 1.255 MB / 0.7862 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.9063, allocations: 8.81 MB / 0.7948 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/0.9108, allocations: 357.6 kB / 0.7951 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006084/0.9114, allocations: 265 kB / 0.7954 GB, free: 138.4 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.003859/0.9152, allocations: 2.9 MB / 0.7982 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008265/0.9161, allocations: 391 kB / 0.7986 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008696/0.9248, allocations: 6.174 MB / 0.8046 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/0.9248, allocations: 23.92 kB / 0.8046 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.9249, allocations: 0 / 0.8046 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/0.9268, allocations: 0.9228 MB / 0.8055 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006314/0.9275, allocations: 75.94 kB / 0.8056 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.9294, allocations: 195.8 kB / 0.8058 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/0.9298, allocations: 282.9 kB / 0.8061 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008518/0.9384, allocations: 6.079 MB / 0.812 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008309/0.9467, allocations: 7.733 MB / 0.8195 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002324/0.949, allocations: 2.278 MB / 0.8218 GB, free: 112 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002842/0.9519, allocations: 2.371 MB / 0.8241 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of Backend: time 6.01e-07/0.9519, allocations: 4 kB / 0.8241 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008351/0.9603, allocations: 4.882 MB / 0.8289 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01782/0.9781, allocations: 13.02 MB / 0.8416 GB, free: 91.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.09505/1.073, allocations: 73.7 MB / 0.9135 GB, free: 18.46 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)