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.001518/0.001518, allocations: 114.5 kB / 16.42 MB, free: 6.508 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.347/1.347, allocations: 222.9 MB / 240.1 MB, free: 4.586 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.001344/0.001344, allocations: 184.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03587/0.03587, allocations: 8.791 MB / 349.3 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 79.88 kB / 464.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08268, allocations: 51.56 MB / 0.5041 GB, free: 9.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.202/0.2847, allocations: 25.44 MB / 0.529 GB, free: 4.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.2962, allocations: 7.942 MB / 0.5367 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.2985, allocations: 171.4 kB / 0.5369 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.3124, allocations: 7.691 MB / 0.5444 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.3201, allocations: 3.096 MB / 0.5474 GB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.3243, allocations: 2.02 MB / 0.5494 GB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009789/0.3341, allocations: 9.218 MB / 0.5584 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.3535, allocations: 17.27 MB / 0.5753 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.3597, allocations: 4.772 MB / 0.5799 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006681/0.3664, allocations: 5.234 MB / 0.585 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.3683, allocations: 1.352 MB / 0.5863 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.3715, allocations: 1.715 MB / 0.588 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.3734, allocations: 2.675 MB / 0.5906 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004991/0.3784, allocations: 5.088 MB / 0.5956 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.3942, allocations: 18.2 MB / 0.6134 GB, free: 15.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3943, allocations: 0 / 0.6134 GB, free: 15.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3943, allocations: 0 / 0.6134 GB, free: 15.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002606/0.3945, allocations: 0 / 0.6134 GB, free: 15.45 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.02628/0.4208, allocations: 10.95 MB / 0.6241 GB, free: 4.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4209, allocations: 8.031 kB / 0.6241 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03165/0.4525, allocations: 5.712 MB / 0.6296 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.4642, allocations: 5.82 MB / 0.6353 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005405/0.4647, allocations: 0.5733 MB / 0.6359 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/0.4673, allocations: 0.7612 MB / 0.6366 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/0.4909, allocations: 12.77 MB / 0.6491 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.4911, allocations: 15.89 kB / 0.6491 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007957/0.4919, allocations: 319.2 kB / 0.6494 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004422/0.4923, allocations: 0.5006 MB / 0.6499 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.5122, allocations: 12.25 MB / 0.6619 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06798/0.5802, allocations: 43.35 MB / 0.7042 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02345/0.6037, allocations: 25.19 MB / 0.7288 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/0.6088, allocations: 2.979 MB / 0.7317 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/0.6093, allocations: 246.7 kB / 0.732 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3546/0.9639, allocations: 2.576 MB / 0.7345 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=391): time 6.492e-06/0.9639, allocations: 3.5 kB / 0.7345 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=397): time 0.03604/1, allocations: 18.41 MB / 0.7524 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/1, allocations: 356.9 kB / 0.7528 GB, free: 160 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/1.005, allocations: 3.523 MB / 0.7562 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.006, allocations: 91.39 kB / 0.7563 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.008, allocations: 3.494 MB / 0.7597 GB, free: 157 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009588/1.009, allocations: 1.422 MB / 0.7611 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/1.01, allocations: 1.084 MB / 0.7622 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/1.01, allocations: 306.6 kB / 0.7625 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/1.013, allocations: 2.554 MB / 0.765 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/1.017, allocations: 4.505 MB / 0.7694 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007141/1.025, allocations: 7.457 MB / 0.7766 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/1.025, allocations: 15.84 kB / 0.7767 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0113/1.036, allocations: 8.295 MB / 0.7848 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/1.036, allocations: 53.8 kB / 0.7848 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-05/1.036, allocations: 62.97 kB / 0.7849 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/1.039, allocations: 1 MB / 0.7858 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/1.043, allocations: 1.259 MB / 0.7871 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.053, allocations: 8.819 MB / 0.7957 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.058, allocations: 367.8 kB / 0.796 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/1.058, allocations: 265.5 kB / 0.7963 GB, free: 136.7 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.004035/1.062, allocations: 2.893 MB / 0.7991 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000847/1.063, allocations: 405.4 kB / 0.7995 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008594/1.072, allocations: 6.191 MB / 0.8055 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.183e-05/1.072, allocations: 19.92 kB / 0.8056 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/1.072, allocations: 0.5625 kB / 0.8056 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.074, allocations: 0.9356 MB / 0.8065 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005481/1.074, allocations: 75.94 kB / 0.8066 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.076, allocations: 195.8 kB / 0.8067 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/1.076, allocations: 286.8 kB / 0.807 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008233/1.085, allocations: 6.078 MB / 0.8129 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008163/1.093, allocations: 7.759 MB / 0.8205 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002231/1.095, allocations: 2.282 MB / 0.8228 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00283/1.098, allocations: 2.367 MB / 0.8251 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of Backend: time 4.01e-07/1.098, allocations: 3.828 kB / 0.8251 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007856/1.106, allocations: 4.89 MB / 0.8298 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0168/1.123, allocations: 13.23 MB / 0.8428 GB, free: 89.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.09775/1.22, allocations: 73.71 MB / 0.9147 GB, free: 16.14 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)