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.0007919/0.000792, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.413/1.413, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001132/0.001132, allocations: 176.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0323/0.0323, allocations: 8.809 MB / 350.5 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 11.62 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 52.56 MB / 466.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01768/0.1328, allocations: 17.62 MB / 484 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1458, allocations: 4.958 MB / 488.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004929/0.1508, allocations: 143.6 kB / 489.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005441/0.1562, allocations: 1.283 MB / 490.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008312/0.1646, allocations: 1.95 MB / 492.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00511/0.1697, allocations: 1.477 MB / 493.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.1861, allocations: 10.79 MB / 0.4928 GB, free: 6.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04367/0.2299, allocations: 24.92 MB / 0.5171 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008598/0.2385, allocations: 4.282 MB / 0.5213 GB, free: 9.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009955/0.2485, allocations: 5.139 MB / 0.5263 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003182/0.2518, allocations: 0.6602 MB / 0.5269 GB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005525/0.2573, allocations: 0.9528 MB / 0.5279 GB, free: 2.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004025/0.2614, allocations: 2.082 MB / 0.5299 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2692/0.5306, allocations: 5.059 MB / 0.5348 GB, free: 26.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02611/0.5567, allocations: 20.62 MB / 0.555 GB, free: 19.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5568, allocations: 1.031 kB / 0.555 GB, free: 19.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5568, allocations: 0 / 0.555 GB, free: 19.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009725/0.5578, allocations: 0 / 0.555 GB, free: 19.43 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.04105/0.5988, allocations: 11.44 MB / 0.5662 GB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5989, allocations: 11.91 kB / 0.5662 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04268/0.6416, allocations: 7.89 MB / 0.5739 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.6594, allocations: 6.568 MB / 0.5803 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009787/0.6604, allocations: 0.8054 MB / 0.5811 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00665/0.6671, allocations: 1.062 MB / 0.5821 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05783/0.7249, allocations: 17.81 MB / 0.5995 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004746/0.7254, allocations: 11.91 kB / 0.5995 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004885/0.7303, allocations: 454.5 kB / 0.5999 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006338/0.731, allocations: 0.5735 MB / 0.6005 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04277/0.7738, allocations: 16.25 MB / 0.6164 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/0.8905, allocations: 53.46 MB / 0.6686 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/0.9079, allocations: 15.82 MB / 0.684 GB, free: 2.031 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0059/0.9138, allocations: 3.819 MB / 0.6878 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.9143, allocations: 197.4 kB / 0.6879 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.799e-05/0.9144, allocations: 86.98 kB / 0.688 GB, free: 13.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.884e-06/0.9144, allocations: 3.984 kB / 0.688 GB, free: 13.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.02115/0.9355, allocations: 10.9 MB / 0.6987 GB, free: 2.938 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.9357, allocations: 133.5 kB / 0.6988 GB, free: 2.785 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3057/1.241, allocations: 3.489 MB / 0.7022 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001389/1.243, allocations: 108.1 kB / 0.7023 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003557/1.246, allocations: 4.317 MB / 0.7065 GB, free: 151.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002673/1.249, allocations: 1.707 MB / 0.7082 GB, free: 150.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/1.25, allocations: 0.5352 MB / 0.7087 GB, free: 150.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/1.251, allocations: 304.2 kB / 0.709 GB, free: 149.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006799/1.257, allocations: 3.344 MB / 0.7123 GB, free: 149.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007212/1.265, allocations: 5.688 MB / 0.7178 GB, free: 146.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/1.276, allocations: 9.666 MB / 0.7273 GB, free: 140.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.276, allocations: 27.12 kB / 0.7273 GB, free: 140.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01928/1.296, allocations: 10.42 MB / 0.7375 GB, free: 136.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/1.296, allocations: 40.91 kB / 0.7375 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/1.296, allocations: 75.44 kB / 0.7376 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/1.299, allocations: 1.077 MB / 0.7386 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005813/1.305, allocations: 1.513 MB / 0.7401 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/1.319, allocations: 12.48 MB / 0.7523 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006809/1.325, allocations: 0.8549 MB / 0.7531 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/1.327, allocations: 315.7 kB / 0.7534 GB, free: 123.3 MB / 478.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.01132/1.339, allocations: 4.117 MB / 0.7574 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/1.34, allocations: 401.1 kB / 0.7578 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.355, allocations: 8.016 MB / 0.7657 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008496/1.364, allocations: 6.636 MB / 0.7721 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.608e-05/1.364, allocations: 12.5 kB / 0.7722 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/1.364, allocations: 27.91 kB / 0.7722 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/1.394, allocations: 17.95 MB / 0.7897 GB, free: 87.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/1.394, allocations: 16.97 kB / 0.7897 GB, free: 87.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/1.397, allocations: 0.9483 MB / 0.7906 GB, free: 87.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/1.4, allocations: 0.9825 MB / 0.7916 GB, free: 86.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/1.4, allocations: 124 kB / 0.7917 GB, free: 85.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.411, allocations: 12.22 MB / 0.8037 GB, free: 73.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.411, allocations: 19.94 kB / 0.8037 GB, free: 73.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.426, allocations: 12.37 MB / 0.8158 GB, free: 60.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003125/1.429, allocations: 1.147 MB / 0.8169 GB, free: 59.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000721/1.43, allocations: 112 kB / 0.817 GB, free: 58.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.432, allocations: 319.7 kB / 0.8173 GB, free: 58.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006925/1.433, allocations: 399.7 kB / 0.8177 GB, free: 58.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/1.433, allocations: 172 kB / 0.8178 GB, free: 58.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003466/1.437, allocations: 2.358 MB / 0.8201 GB, free: 55.76 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.437, allocations: 0 / 0.8201 GB, free: 55.76 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007991/1.445, allocations: 2.66 MB / 0.8227 GB, free: 53.09 MB / 478.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.0007699/1.446, allocations: 312.3 kB / 0.823 GB, free: 52.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.012/1.458, allocations: 8.743 MB / 0.8316 GB, free: 43.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.458, allocations: 4 kB / 0.8316 GB, free: 43.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005518/1.463, allocations: 4.343 MB / 0.8358 GB, free: 39.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.474, allocations: 0.9057 MB / 0.8367 GB, free: 38.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03282/1.506, allocations: 23.74 MB / 0.8599 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007151/1.514, allocations: 7.011 MB / 0.8667 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006154/1.52, allocations: 2.538 MB / 0.8692 GB, free: 5.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.521, allocations: 375.4 kB / 0.8696 GB, free: 4.723 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/1.521, allocations: 0 / 0.8696 GB, free: 4.723 MB / 478.1 MB Notification: Performance of Templates: time 0.4141/1.935, allocations: 67.24 MB / 0.9352 GB, free: 127.1 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: