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.0008867/0.0008867, allocations: 86.05 kB / 19.87 MB, free: 4.617 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 1.143/1.143, allocations: 177.1 MB / 200.3 MB, free: 5.719 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.001279/0.001279, allocations: 160.6 kB / 256.9 MB, free: 12.99 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.0267/0.0267, allocations: 6.656 MB / 320.1 MB, free: 11.46 MB / 298.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.343e-06/1.343e-06, allocations: 0 / 392.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.342e-05, allocations: 2.312 kB / 392.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01352/0.01354, allocations: 17.61 MB / 409.7 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.02666, allocations: 5.039 MB / 414.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005293/0.03195, allocations: 187.1 kB / 414.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01489/0.04684, allocations: 8.552 MB / 423.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.05754, allocations: 2.221 MB / 425.7 MB, free: 1.613 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.06246, allocations: 1.569 MB / 427.3 MB, free: 44 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.07831, allocations: 11.28 MB / 438.6 MB, free: 4.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1862/0.2645, allocations: 16.29 MB / 454.8 MB, free: 117.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02178/0.2863, allocations: 9.13 MB / 464 MB, free: 116.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.2982, allocations: 6.84 MB / 470.8 MB, free: 114.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005124/0.3034, allocations: 1.62 MB / 472.4 MB, free: 114.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007591/0.3109, allocations: 1.933 MB / 474.4 MB, free: 114.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00682/0.3178, allocations: 3.424 MB / 477.8 MB, free: 112.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01239/0.3302, allocations: 4.349 MB / 482.1 MB, free: 110 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01853/0.3487, allocations: 11.04 MB / 493.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.3487, allocations: 0 / 493.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3487, allocations: 0 / 493.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007314/0.3494, allocations: 6.781 kB / 493.2 MB, free: 100.7 MB / 410.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.02869/0.3781, allocations: 14.09 MB / 0.4954 GB, free: 87.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3782, allocations: 8.844 kB / 0.4954 GB, free: 87.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/0.4008, allocations: 7.05 MB / 0.5023 GB, free: 80.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.4116, allocations: 5.867 MB / 0.508 GB, free: 74.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/0.4121, allocations: 0.8103 MB / 0.5088 GB, free: 73.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003541/0.4157, allocations: 1.075 MB / 0.5098 GB, free: 72.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/0.4395, allocations: 8.873 MB / 0.5185 GB, free: 64.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.4397, allocations: 25.86 kB / 0.5185 GB, free: 64.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/0.4415, allocations: 449.6 kB / 0.519 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003941/0.4419, allocations: 0.5696 MB / 0.5195 GB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.4535, allocations: 4.052 MB / 0.5235 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06432/0.5178, allocations: 41.73 MB / 0.5642 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/0.5226, allocations: 4.715 MB / 0.5688 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.524, allocations: 1.394 MB / 0.5702 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.5243, allocations: 200.1 kB / 0.5704 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.5243, allocations: 93.77 kB / 0.5705 GB, free: 12.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=492): time 7.023e-06/0.5243, allocations: 0 / 0.5705 GB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=492): time 0.007501/0.5318, allocations: 5.077 MB / 0.5754 GB, free: 7.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5319, allocations: 133.4 kB / 0.5756 GB, free: 7.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/0.5355, allocations: 3.376 MB / 0.5789 GB, free: 4.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.5358, allocations: 101.7 kB / 0.579 GB, free: 4.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3018/0.8376, allocations: 4.768 MB / 0.5836 GB, free: 93.57 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002759/0.8403, allocations: 1.824 MB / 0.5854 GB, free: 93.12 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/0.8425, allocations: 1.517 MB / 0.5869 GB, free: 93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.8425, allocations: 479.2 kB / 0.5873 GB, free: 92.54 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.8437, allocations: 0.8048 MB / 0.5881 GB, free: 92.52 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.8461, allocations: 4.362 MB / 0.5924 GB, free: 88.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/0.8504, allocations: 5.817 MB / 0.5981 GB, free: 84.33 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-05/0.8505, allocations: 23.31 kB / 0.5981 GB, free: 84.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.007146/0.8576, allocations: 5.372 MB / 0.6033 GB, free: 83.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.8577, allocations: 39.75 kB / 0.6034 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.8578, allocations: 81.75 kB / 0.6034 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.8599, allocations: 0.9576 MB / 0.6044 GB, free: 83.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/0.8633, allocations: 1.367 MB / 0.6057 GB, free: 83.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008167/0.8715, allocations: 11.41 MB / 0.6169 GB, free: 75.79 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/0.8757, allocations: 0.6788 MB / 0.6175 GB, free: 75.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/0.8769, allocations: 272.8 kB / 0.6178 GB, free: 75.57 MB / 410.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.003678/0.8806, allocations: 0.5937 MB / 0.6184 GB, free: 75.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/0.8819, allocations: 0.5574 MB / 0.6189 GB, free: 75.19 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/0.8877, allocations: 3.961 MB / 0.6228 GB, free: 74.82 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003405/0.8911, allocations: 2.747 MB / 0.6255 GB, free: 74.55 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/0.8912, allocations: 11.28 kB / 0.6255 GB, free: 74.55 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.8912, allocations: 27.19 kB / 0.6255 GB, free: 74.55 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/0.9125, allocations: 12.54 MB / 0.6377 GB, free: 72.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/0.9125, allocations: 14.31 kB / 0.6378 GB, free: 72.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.9144, allocations: 0.811 MB / 0.6386 GB, free: 72.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.9165, allocations: 0.876 MB / 0.6394 GB, free: 72.73 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004169/0.9169, allocations: 130 kB / 0.6395 GB, free: 72.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007046/0.9239, allocations: 11.26 MB / 0.6505 GB, free: 63.18 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.9239, allocations: 23.92 kB / 0.6505 GB, free: 63.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006883/0.9308, allocations: 5.58 MB / 0.656 GB, free: 57.79 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/0.9327, allocations: 0.875 MB / 0.6568 GB, free: 57.11 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/0.9331, allocations: 111.9 kB / 0.657 GB, free: 57.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9342, allocations: 139.8 kB / 0.6571 GB, free: 56.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/0.9348, allocations: 428.2 kB / 0.6575 GB, free: 56.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/0.935, allocations: 135.3 kB / 0.6576 GB, free: 56.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001666/0.9366, allocations: 1.386 MB / 0.659 GB, free: 55.52 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9366, allocations: 0 / 0.659 GB, free: 55.52 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007104/0.9437, allocations: 2.681 MB / 0.6616 GB, free: 53.12 MB / 410.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.0008196/0.9446, allocations: 319.4 kB / 0.6619 GB, free: 52.88 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006086/0.9506, allocations: 4.823 MB / 0.6666 GB, free: 48.86 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/0.9507, allocations: 4.766 kB / 0.6666 GB, free: 48.85 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/0.9538, allocations: 2.756 MB / 0.6693 GB, free: 46.53 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/0.9575, allocations: 0.9568 MB / 0.6702 GB, free: 45.79 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/0.9821, allocations: 15.7 MB / 0.6856 GB, free: 31.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003885/0.986, allocations: 3.008 MB / 0.6885 GB, free: 28.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002474/0.9885, allocations: 0.7432 MB / 0.6892 GB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/0.9901, allocations: 1.068 MB / 0.6903 GB, free: 26.97 MB / 410.8 MB Notification: Performance of SimCode: time 1.914e-06/0.9901, allocations: 2.953 kB / 0.6903 GB, free: 26.97 MB / 410.8 MB Notification: Performance of Templates: time 0.2673/1.257, allocations: 69.37 MB / 0.758 GB, free: 121.8 MB / 442.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.799113046377897]