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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9517/0.9517, allocations: 177.2 MB / 200.3 MB, free: 5.367 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 159.3 kB / 257 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02555/0.02555, allocations: 6.655 MB / 266.9 MB, free: 3.059 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 285.6 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.967e-05, allocations: 6.25 kB / 285.6 MB, free: 328 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.1431/0.1431, allocations: 17.61 MB / 303.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1548, allocations: 5.338 MB / 308.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004506/0.1593, allocations: 187.2 kB / 308.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009876/0.1692, allocations: 8.813 MB / 317.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008331/0.1775, allocations: 2.239 MB / 319.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.1815, allocations: 1.597 MB / 321.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.1948, allocations: 11.27 MB / 332.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02587/0.2206, allocations: 16.81 MB / 349.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.2373, allocations: 9.174 MB / 358.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.2476, allocations: 6.929 MB / 365.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005911/0.2535, allocations: 1.621 MB / 367.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007275/0.2607, allocations: 1.929 MB / 369.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005702/0.2664, allocations: 3.429 MB / 372.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009703/0.2761, allocations: 4.351 MB / 376.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.2929, allocations: 11.04 MB / 388 MB, free: 7.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2929, allocations: 0 / 388 MB, free: 7.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2929, allocations: 0 / 388 MB, free: 7.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004909/0.2934, allocations: 0 / 388 MB, free: 7.805 MB / 346.7 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.02506/0.3184, allocations: 13.12 MB / 401.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3185, allocations: 8.031 kB / 401.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02422/0.3427, allocations: 7.531 MB / 408.6 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008175/0.3509, allocations: 3.499 MB / 412.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006462/0.3515, allocations: 0.807 MB / 413 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/0.3545, allocations: 1.07 MB / 414 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.3727, allocations: 9.097 MB / 423.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/0.3729, allocations: 7.953 kB / 423.1 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.374, allocations: 459.9 kB / 423.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004162/0.3744, allocations: 0.5657 MB / 424.1 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2764/0.6508, allocations: 4.657 MB / 428.8 MB, free: 80.06 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05949/0.7103, allocations: 32.03 MB / 460.8 MB, free: 69.25 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/0.7156, allocations: 4.138 MB / 465 MB, free: 68.01 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.7172, allocations: 1.206 MB / 466.2 MB, free: 66.97 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.7175, allocations: 162.5 kB / 466.3 MB, free: 66.84 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.7176, allocations: 86.95 kB / 466.4 MB, free: 66.75 MB / 378.8 MB Notification: Performance of pre-optimization done (n=492): time 8.285e-06/0.7176, allocations: 0 / 466.4 MB, free: 66.75 MB / 378.8 MB Notification: Performance of matching and sorting (n=492): time 0.00695/0.7245, allocations: 4.149 MB / 470.6 MB, free: 63.63 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7246, allocations: 129.5 kB / 470.7 MB, free: 63.49 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.7269, allocations: 2.271 MB / 473 MB, free: 61.93 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004614/0.7274, allocations: 105.7 kB / 473.1 MB, free: 61.82 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.7288, allocations: 4.189 MB / 477.3 MB, free: 58.47 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009879/0.7297, allocations: 1.73 MB / 479 MB, free: 56.84 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.7308, allocations: 1.191 MB / 480.2 MB, free: 55.77 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.15e-05/0.7309, allocations: 305.1 kB / 480.5 MB, free: 55.47 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.732, allocations: 0.9752 MB / 481.5 MB, free: 54.49 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.7335, allocations: 3.035 MB / 484.5 MB, free: 50.61 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/0.7368, allocations: 4.608 MB / 489.1 MB, free: 45.39 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/0.7369, allocations: 20 kB / 489.1 MB, free: 45.37 MB / 378.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.006127/0.743, allocations: 4.361 MB / 493.5 MB, free: 41.49 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.743, allocations: 38.62 kB / 493.5 MB, free: 41.46 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.581e-05/0.7431, allocations: 76 kB / 493.6 MB, free: 41.38 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.7449, allocations: 0.9077 MB / 494.5 MB, free: 40.48 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.7479, allocations: 1.346 MB / 495.8 MB, free: 39.24 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005587/0.7535, allocations: 8.274 MB / 0.4923 GB, free: 30.83 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.7568, allocations: 0.6824 MB / 0.493 GB, free: 30.14 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000959/0.7577, allocations: 258.1 kB / 0.4932 GB, free: 29.89 MB / 378.8 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002584/0.7603, allocations: 0.5443 MB / 0.4937 GB, free: 29.44 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/0.761, allocations: 395.6 kB / 0.4941 GB, free: 29.05 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.7649, allocations: 3.247 MB / 0.4973 GB, free: 25.82 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002213/0.7672, allocations: 2.056 MB / 0.4993 GB, free: 23.77 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.648e-05/0.7672, allocations: 16 kB / 0.4993 GB, free: 23.75 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.7672, allocations: 27.89 kB / 0.4993 GB, free: 23.73 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.7837, allocations: 9.478 MB / 0.5086 GB, free: 15.3 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.7837, allocations: 13 kB / 0.5086 GB, free: 15.29 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.7855, allocations: 0.7857 MB / 0.5094 GB, free: 14.55 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.7872, allocations: 0.8182 MB / 0.5102 GB, free: 13.73 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003772/0.7875, allocations: 120 kB / 0.5103 GB, free: 13.62 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.7924, allocations: 8.13 MB / 0.5182 GB, free: 5.32 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.7925, allocations: 19.75 kB / 0.5183 GB, free: 5.305 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.7976, allocations: 4.563 MB / 0.5227 GB, free: 396 kB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.799, allocations: 0.6532 MB / 0.5233 GB, free: 15.73 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/0.7994, allocations: 108 kB / 0.5235 GB, free: 15.63 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.8004, allocations: 140 kB / 0.5236 GB, free: 15.49 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005151/0.801, allocations: 411 kB / 0.524 GB, free: 15.1 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/0.8012, allocations: 124 kB / 0.5241 GB, free: 14.98 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001212/0.8024, allocations: 1.008 MB / 0.5251 GB, free: 14.09 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.8024, allocations: 0 / 0.5251 GB, free: 14.09 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005723/0.8081, allocations: 2.683 MB / 0.5277 GB, free: 11.4 MB / 394.8 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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007364/0.8088, allocations: 299.2 kB / 0.528 GB, free: 11.16 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005965/0.8148, allocations: 4.035 MB / 0.5319 GB, free: 7.379 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001791/0.815, allocations: 67.94 kB / 0.532 GB, free: 7.305 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.8179, allocations: 2.278 MB / 0.5342 GB, free: 5.145 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/0.8212, allocations: 0.9401 MB / 0.5351 GB, free: 4.242 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/0.8476, allocations: 15.48 MB / 0.5502 GB, free: 4.598 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004728/0.8523, allocations: 2.157 MB / 0.5524 GB, free: 2.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002459/0.8548, allocations: 0.7432 MB / 0.5531 GB, free: 1.664 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/0.8566, allocations: 0.9521 MB / 0.554 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of SimCode: time 1.853e-06/0.8566, allocations: 0 / 0.554 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of Templates: time 0.2321/1.089, allocations: 69.82 MB / 0.6222 GB, free: 86.39 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.110427441075444]