Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 190.2 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 46.62 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004587/0.2518, allocations: 3.771 MB / 328.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.2544, allocations: 1.447 MB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2546, allocations: 8.688 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.2564, allocations: 0.7099 MB / 330.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2575, allocations: 0.5137 MB / 331.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.2583, allocations: 384.1 kB / 331.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.2588, allocations: 482.3 kB / 332.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.2596, allocations: 436.5 kB / 332.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.2599, allocations: 221.1 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.2602, allocations: 282 kB / 333.1 MB, free: 11.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.297e-05/0.2603, allocations: 42.94 kB / 333.1 MB, free: 11.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.2608, allocations: 209.6 kB / 333.3 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.2609, allocations: 115.5 kB / 333.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.2611, allocations: 242.8 kB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.2619, allocations: 0.6969 MB / 334.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2619, allocations: 3.938 kB / 334.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2619, allocations: 0 / 334.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2619, allocations: 0 / 334.4 MB, free: 10.57 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002088/0.264, allocations: 0.9326 MB / 335.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.264, allocations: 12.03 kB / 335.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.2685, allocations: 0.5857 MB / 335.9 MB, free: 8.988 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/0.2691, allocations: 315.6 kB / 336.2 MB, free: 8.641 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.2692, allocations: 41.69 kB / 336.2 MB, free: 8.598 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.2693, allocations: 60.28 kB / 336.3 MB, free: 8.539 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.2709, allocations: 0.5647 MB / 336.9 MB, free: 7.969 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.2709, allocations: 4 kB / 336.9 MB, free: 7.965 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.271, allocations: 20 kB / 336.9 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.271, allocations: 12 kB / 336.9 MB, free: 7.934 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.2726, allocations: 0.6376 MB / 337.5 MB, free: 7.297 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004313/0.2769, allocations: 2.038 MB / 339.6 MB, free: 5.117 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.2807, allocations: 3.004 MB / 342.6 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.2813, allocations: 226.1 kB / 342.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2815, allocations: 89.53 kB / 342.9 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/0.2815, allocations: 39 kB / 342.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 7.554e-06/0.2816, allocations: 4 kB / 342.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.002859/0.2844, allocations: 0.801 MB / 343.7 MB, free: 348 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.2845, allocations: 55.84 kB / 343.8 MB, free: 280 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.2848, allocations: 206.2 kB / 344 MB, free: 68 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.2849, allocations: 29.7 kB / 344 MB, free: 32 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2851, allocations: 252 kB / 344.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.2853, allocations: 161.7 kB / 344.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.2855, allocations: 98.14 kB / 344.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2857, allocations: 334.8 kB / 344.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.2861, allocations: 157 kB / 345 MB, free: 15.03 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.2867, allocations: 277.9 kB / 345.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.2877, allocations: 464.5 kB / 345.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.2878, allocations: 0 / 345.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001543/0.2893, allocations: 0.5783 MB / 346.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.2894, allocations: 12.34 kB / 346.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2894, allocations: 4 kB / 346.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.2899, allocations: 96.73 kB / 346.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.2906, allocations: 107.8 kB / 346.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.2938, allocations: 2.049 MB / 348.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.2943, allocations: 55.42 kB / 348.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.2944, allocations: 23.94 kB / 348.6 MB, free: 11.15 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.2948, allocations: 169.8 kB / 348.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2949, allocations: 31.72 kB / 348.8 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.2968, allocations: 0.5549 MB / 349.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.2969, allocations: 7.984 kB / 349.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2969, allocations: 4 kB / 349.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2969, allocations: 3.984 kB / 349.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.2997, allocations: 1.138 MB / 350.5 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2997, allocations: 4 kB / 350.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.3003, allocations: 79.89 kB / 350.6 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.3008, allocations: 80.81 kB / 350.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.3009, allocations: 15.98 kB / 350.7 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.3041, allocations: 2.038 MB / 352.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3041, allocations: 0 / 352.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.3065, allocations: 0.8115 MB / 353.6 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3066, allocations: 104.7 kB / 353.7 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.3067, allocations: 12 kB / 353.7 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.3072, allocations: 20.05 kB / 353.7 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3073, allocations: 36.39 kB / 353.7 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.3074, allocations: 12 kB / 353.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3076, allocations: 150.9 kB / 353.9 MB, free: 5.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3076, allocations: 0 / 353.9 MB, free: 5.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3088, allocations: 159.5 kB / 354.1 MB, free: 5.469 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003194/0.3091, allocations: 139.2 kB / 354.2 MB, free: 5.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3112, allocations: 0.6126 MB / 354.8 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.3112, allocations: 0 / 354.8 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.3122, allocations: 393.8 kB / 355.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.3129, allocations: 31.94 kB / 355.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3157, allocations: 1.06 MB / 356.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.3164, allocations: 0.8171 MB / 357.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004497/0.3168, allocations: 51.27 kB / 357.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.317, allocations: 35.42 kB / 357.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of SimCode: time 8.31e-07/0.317, allocations: 192 / 357.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of Templates: time 0.01623/0.3333, allocations: 4.391 MB / 361.6 MB, free: 13.86 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)