Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00823/0.00823, allocations: 100.3 kB / 15.87 MB, free: 5.863 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.934/1.934, allocations: 222.9 MB / 239.5 MB, free: 4.816 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.001555/0.001555, allocations: 188.5 kB / 289.8 MB, free: 2.551 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04166/0.04166, allocations: 8.795 MB / 348.7 MB, free: 4.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 74.89 kB / 411 MB, free: 42.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 51.56 MB / 462.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02315/0.1474, allocations: 18.58 MB / 481.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.1657, allocations: 5.004 MB / 486.2 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006972/0.1728, allocations: 147.6 kB / 486.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02057/0.1935, allocations: 7.793 MB / 494.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009714/0.2032, allocations: 1.977 MB / 496.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.2087, allocations: 1.496 MB / 497.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01958/0.2283, allocations: 10.79 MB / 0.4965 GB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05393/0.2823, allocations: 21.26 MB / 0.5172 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/0.2938, allocations: 5.367 MB / 0.5225 GB, free: 6.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3671/0.661, allocations: 6.582 MB / 0.5289 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008257/0.6693, allocations: 1.195 MB / 0.5301 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.6811, allocations: 1.482 MB / 0.5315 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01015/0.6913, allocations: 2.848 MB / 0.5343 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02798/0.7194, allocations: 5.932 MB / 0.5401 GB, free: 22.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0428/0.7623, allocations: 18.99 MB / 0.5586 GB, free: 17.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.7624, allocations: 0 / 0.5586 GB, free: 17.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.165e-06/0.7624, allocations: 0 / 0.5586 GB, free: 17.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009969/0.7634, allocations: 4.469 kB / 0.5587 GB, free: 17.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.1049/0.8683, allocations: 13.84 MB / 0.5722 GB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.411e-05/0.8684, allocations: 11.44 kB / 0.5722 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08478/0.9532, allocations: 7.859 MB / 0.5799 GB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03449/0.9878, allocations: 6.552 MB / 0.5863 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002283/0.9902, allocations: 0.8158 MB / 0.5871 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009916/1, allocations: 1.057 MB / 0.5881 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1006/1.101, allocations: 17.81 MB / 0.6055 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008174/1.102, allocations: 12.61 kB / 0.6055 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00871/1.111, allocations: 450.9 kB / 0.6059 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/1.112, allocations: 0.5809 MB / 0.6065 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07223/1.184, allocations: 16.25 MB / 0.6224 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/1.379, allocations: 53.32 MB / 0.6744 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02694/1.406, allocations: 15.83 MB / 0.6899 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008078/1.414, allocations: 3.826 MB / 0.6936 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006635/1.415, allocations: 193.2 kB / 0.6938 GB, free: 3.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.415, allocations: 94.64 kB / 0.6939 GB, free: 3.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.985e-06/1.415, allocations: 0 / 0.6939 GB, free: 3.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.0263/1.441, allocations: 10.84 MB / 0.7045 GB, free: 8.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.441, allocations: 132.9 kB / 0.7046 GB, free: 8.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007168/1.448, allocations: 3.501 MB / 0.708 GB, free: 4.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001293/1.45, allocations: 109.7 kB / 0.7081 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003727/1.454, allocations: 4.314 MB / 0.7123 GB, free: 488 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.316/1.77, allocations: 1.706 MB / 0.714 GB, free: 162.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003018/1.773, allocations: 1.314 MB / 0.7153 GB, free: 162.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/1.773, allocations: 304 kB / 0.7156 GB, free: 162.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00631/1.779, allocations: 3.342 MB / 0.7188 GB, free: 162.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008372/1.788, allocations: 5.69 MB / 0.7244 GB, free: 159.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/1.803, allocations: 9.673 MB / 0.7339 GB, free: 156.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002207/1.804, allocations: 19.75 kB / 0.7339 GB, free: 156.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01969/1.823, allocations: 10.43 MB / 0.7441 GB, free: 153 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/1.823, allocations: 38.66 kB / 0.7441 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/1.824, allocations: 73.78 kB / 0.7442 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/1.827, allocations: 1.074 MB / 0.7452 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/1.833, allocations: 1.52 MB / 0.7467 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.847, allocations: 12.46 MB / 0.7589 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/1.854, allocations: 0.8671 MB / 0.7597 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/1.855, allocations: 323.3 kB / 0.76 GB, free: 142.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (796): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009976/1.865, allocations: 4.11 MB / 0.764 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.867, allocations: 395 kB / 0.7644 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.881, allocations: 8.015 MB / 0.7722 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009712/1.89, allocations: 6.643 MB / 0.7787 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/1.891, allocations: 12 kB / 0.7787 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.674e-05/1.891, allocations: 26.48 kB / 0.7788 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0514/1.942, allocations: 17.95 MB / 0.7963 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.449e-05/1.942, allocations: 12.81 kB / 0.7963 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005959/1.948, allocations: 0.9517 MB / 0.7972 GB, free: 107.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/1.952, allocations: 0.9751 MB / 0.7982 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001205/1.954, allocations: 132 kB / 0.7983 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/1.973, allocations: 12.2 MB / 0.8102 GB, free: 93.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.249e-05/1.974, allocations: 19.94 kB / 0.8102 GB, free: 93.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02939/2.003, allocations: 12.36 MB / 0.8223 GB, free: 80.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00488/2.008, allocations: 1.142 MB / 0.8234 GB, free: 79.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002281/2.01, allocations: 112 kB / 0.8235 GB, free: 79.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00458/2.015, allocations: 315.7 kB / 0.8238 GB, free: 79.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/2.017, allocations: 407.1 kB / 0.8242 GB, free: 78.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001068/2.018, allocations: 168 kB / 0.8244 GB, free: 78.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005744/2.024, allocations: 2.358 MB / 0.8267 GB, free: 76.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/2.024, allocations: 0 / 0.8267 GB, free: 76.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01304/2.037, allocations: 2.652 MB / 0.8293 GB, free: 73.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (507): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001979/2.039, allocations: 329.8 kB / 0.8296 GB, free: 73.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01711/2.056, allocations: 8.725 MB / 0.8381 GB, free: 64.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/2.056, allocations: 1 kB / 0.8381 GB, free: 64.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008555/2.064, allocations: 4.355 MB / 0.8424 GB, free: 60.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008779/2.073, allocations: 0.899 MB / 0.8432 GB, free: 59.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/2.128, allocations: 23.36 MB / 0.866 GB, free: 35.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/2.141, allocations: 6.804 MB / 0.8727 GB, free: 28.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/2.144, allocations: 427.3 kB / 0.8731 GB, free: 28.52 MB / 494.1 MB Notification: Performance of SimCode: time 1.894e-06/2.144, allocations: 0 / 0.8731 GB, free: 28.52 MB / 494.1 MB Notification: Performance of Templates: time 1.32/3.464, allocations: 354.2 MB / 1.219 GB, free: 66.88 MB / 0.5137 GB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1)