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.001014/0.001014, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002386, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9864/0.9864, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1786/1.165, allocations: 53.64 MB / 241.9 MB, free: 2.727 MB / 234.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.001319/0.001319, allocations: 155.7 kB / 242.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01221/0.01353, allocations: 482.3 kB / 243.2 MB, free: 1.406 MB / 234.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.02811/0.02811, allocations: 6.657 MB / 250.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004589/0.0327, allocations: 2.666 MB / 253.3 MB, free: 7.547 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 1.673e-06/1.673e-06, allocations: 3.938 kB / 254.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.348e-05, allocations: 2.312 kB / 254.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01467/0.01469, allocations: 17.79 MB / 272.3 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02557, allocations: 5.375 MB / 277.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.02758, allocations: 187.1 kB / 277.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.0381, allocations: 8.746 MB / 286.7 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.04255, allocations: 2.21 MB / 288.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.045, allocations: 1.58 MB / 290.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009416/0.05442, allocations: 11.36 MB / 301.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01974/0.07415, allocations: 16.34 MB / 318.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1425/0.2166, allocations: 9.345 MB / 327.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009189/0.2258, allocations: 6.897 MB / 334.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00346/0.2293, allocations: 1.624 MB / 336 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.2322, allocations: 1.945 MB / 337.9 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.2342, allocations: 2.684 MB / 340.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00359/0.2377, allocations: 3.595 MB / 344.2 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009337/0.2471, allocations: 10.45 MB / 354.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.715e-05/0.2471, allocations: 0 / 354.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2471, allocations: 0 / 354.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003955/0.2475, allocations: 5.469 kB / 354.7 MB, free: 15.53 MB / 314.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.01754/0.265, allocations: 15.3 MB / 370 MB, free: 4.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.2651, allocations: 11.12 kB / 370 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01853/0.2836, allocations: 7.538 MB / 377.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007746/0.2913, allocations: 3.49 MB / 381 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.2917, allocations: 0.8136 MB / 381.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.2934, allocations: 1.071 MB / 382.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.3053, allocations: 9.094 MB / 392 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.3055, allocations: 15.05 kB / 392 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007536/0.3062, allocations: 452.3 kB / 392.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003603/0.3066, allocations: 0.5773 MB / 393 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/0.3129, allocations: 4.657 MB / 397.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04206/0.355, allocations: 32.22 MB / 429.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005439/0.3604, allocations: 4.199 MB / 434.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3617, allocations: 1.21 MB / 435.3 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.3619, allocations: 160.2 kB / 435.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.362, allocations: 90.7 kB / 435.6 MB, free: 5.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=492): time 6.342e-06/0.362, allocations: 4 kB / 435.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=492): time 0.006942/0.3689, allocations: 4.145 MB / 439.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.369, allocations: 133.2 kB / 439.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.3707, allocations: 2.271 MB / 442.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.3709, allocations: 101.7 kB / 442.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.3723, allocations: 4.191 MB / 446.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.3736, allocations: 1.736 MB / 448.1 MB, free: 9.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.3746, allocations: 1.186 MB / 449.3 MB, free: 8.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.3747, allocations: 308.3 kB / 449.6 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.3758, allocations: 0.9752 MB / 450.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.3779, allocations: 3.03 MB / 453.6 MB, free: 2.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.3812, allocations: 4.612 MB / 458.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/0.3812, allocations: 20 kB / 458.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.004867/0.3861, allocations: 4.355 MB / 462.6 MB, free: 9.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.3861, allocations: 39.66 kB / 462.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.016e-05/0.3862, allocations: 76 kB / 462.7 MB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.3878, allocations: 0.9015 MB / 463.6 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.3905, allocations: 1.546 MB / 465.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/0.3965, allocations: 8.319 MB / 473.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.3984, allocations: 0.6862 MB / 474.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/0.3987, allocations: 256 kB / 474.4 MB, free: 13.93 MB / 426.7 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.001743/0.4004, allocations: 0.5544 MB / 475 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.4009, allocations: 387.7 kB / 475.4 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.405, allocations: 3.248 MB / 478.6 MB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00236/0.4073, allocations: 2.06 MB / 480.7 MB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.4074, allocations: 12 kB / 480.7 MB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/0.4074, allocations: 27.89 kB / 480.7 MB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1699/0.5773, allocations: 9.476 MB / 490.2 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.5773, allocations: 14.88 kB / 490.2 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/0.5799, allocations: 0.9241 MB / 491.1 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.5816, allocations: 0.6563 MB / 491.8 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.5834, allocations: 0.823 MB / 492.6 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.5836, allocations: 120.5 kB / 492.7 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.5887, allocations: 8.094 MB / 0.4891 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/0.5887, allocations: 19.38 kB / 0.4891 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.5935, allocations: 4.552 MB / 0.4935 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.5939, allocations: 108.8 kB / 0.4936 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.5948, allocations: 144.6 kB / 0.4938 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/0.5953, allocations: 408.5 kB / 0.4942 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/0.5955, allocations: 129.5 kB / 0.4943 GB, free: 101.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.5966, allocations: 1.007 MB / 0.4953 GB, free: 101.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5966, allocations: 0.75 kB / 0.4953 GB, free: 101.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004529/0.6011, allocations: 2.684 MB / 0.4979 GB, free: 101 MB / 426.7 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.000474/0.6016, allocations: 303.4 kB / 0.4982 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004221/0.6058, allocations: 4.039 MB / 0.5021 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001489/0.6059, allocations: 116.7 kB / 0.5022 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.6079, allocations: 2.289 MB / 0.5045 GB, free: 99.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.6103, allocations: 1.305 MB / 0.5057 GB, free: 99.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06481/0.6751, allocations: 16.69 MB / 0.5221 GB, free: 93.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/0.6779, allocations: 2.228 MB / 0.5242 GB, free: 92.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002918/0.6808, allocations: 0.7448 MB / 0.525 GB, free: 92.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/0.683, allocations: 0.9567 MB / 0.5259 GB, free: 92.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.245e-06/0.683, allocations: 0 / 0.5259 GB, free: 92.66 MB / 426.7 MB Notification: Performance of Templates: time 0.08055/0.7635, allocations: 72.21 MB / 0.5964 GB, free: 26.82 MB / 426.7 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: 4.828117712400854]