Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 109.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.385/1.385, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.83 kB / 374.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09434, allocations: 53.31 MB / 428.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.1818/0.2762, allocations: 5.107 MB / 433.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2789, allocations: 1.858 MB / 435 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.2792, allocations: 14.16 kB / 435 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.2813, allocations: 1.181 MB / 436.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.2826, allocations: 0.6236 MB / 436.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.2836, allocations: 0.6124 MB / 437.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000845/0.2845, allocations: 0.7533 MB / 438.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.2851, allocations: 443.3 kB / 438.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.2856, allocations: 337.2 kB / 439 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.286, allocations: 427.6 kB / 439.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2861, allocations: 64.09 kB / 439.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.2867, allocations: 254.3 kB / 439.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2868, allocations: 162 kB / 439.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.2871, allocations: 379.4 kB / 440.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2882, allocations: 1.033 MB / 441.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2883, allocations: 0 / 441.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2883, allocations: 0 / 441.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2883, allocations: 1.219 kB / 441.3 MB, free: 5.859 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00362/0.2919, allocations: 1.398 MB / 442.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2919, allocations: 13.25 kB / 442.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.2977, allocations: 0.7859 MB / 443.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.2983, allocations: 416.1 kB / 443.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.2984, allocations: 59.19 kB / 443.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2985, allocations: 83.52 kB / 444 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.2998, allocations: 0.7692 MB / 444.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.2999, allocations: 5.141 kB / 444.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.2999, allocations: 37.02 kB / 444.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.2999, allocations: 18.31 kB / 444.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.3015, allocations: 0.9062 MB / 445.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.305, allocations: 2.77 MB / 448.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.3068, allocations: 2.121 MB / 450.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.3073, allocations: 293.1 kB / 450.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.3075, allocations: 185.2 kB / 451.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3075, allocations: 39.22 kB / 451.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 1.773e-06/0.3075, allocations: 0 / 451.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003661/0.3112, allocations: 1.341 MB / 452.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3112, allocations: 60.09 kB / 452.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.3116, allocations: 293 kB / 452.8 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.3116, allocations: 36.7 kB / 452.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3118, allocations: 294.2 kB / 453.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.312, allocations: 268.9 kB / 453.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.3122, allocations: 126.1 kB / 453.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3124, allocations: 358 kB / 453.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.3128, allocations: 232.9 kB / 454.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.3134, allocations: 367.8 kB / 454.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3144, allocations: 0.6267 MB / 455.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3144, allocations: 2.031 kB / 455.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001759/0.3162, allocations: 0.863 MB / 456 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3162, allocations: 5.281 kB / 456 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3162, allocations: 4.859 kB / 456 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007824/0.317, allocations: 206.6 kB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.3175, allocations: 136.8 kB / 456.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.321, allocations: 2.704 MB / 459 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.3214, allocations: 81.7 kB / 459.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.3215, allocations: 29.83 kB / 459.1 MB, free: 10.8 MB / 366.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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003026/0.3218, allocations: 192.7 kB / 459.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3219, allocations: 49.64 kB / 459.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.3238, allocations: 0.8953 MB / 460.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3238, allocations: 12.44 kB / 460.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3238, allocations: 6.531 kB / 460.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.3238, allocations: 4.453 kB / 460.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3266, allocations: 1.697 MB / 462 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3266, allocations: 3.984 kB / 462 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.3271, allocations: 110.1 kB / 462.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/0.3277, allocations: 201 kB / 462.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.3278, allocations: 20.55 kB / 462.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.3311, allocations: 2.702 MB / 465 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3311, allocations: 3.469 kB / 465 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.3334, allocations: 1.262 MB / 466.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3336, allocations: 130.1 kB / 466.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.3336, allocations: 12.22 kB / 466.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.334, allocations: 30.45 kB / 466.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.3341, allocations: 59.59 kB / 466.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.3342, allocations: 19.72 kB / 466.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.3344, allocations: 206.3 kB / 466.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3344, allocations: 5.875 kB / 466.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008099/0.3352, allocations: 237.8 kB / 466.9 MB, free: 5.723 MB / 366.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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.3355, allocations: 157.8 kB / 467.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.337, allocations: 0.799 MB / 467.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.337, allocations: 3.938 kB / 467.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.3379, allocations: 0.5149 MB / 468.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3383, allocations: 61.95 kB / 468.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.3403, allocations: 1.208 MB / 469.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.3409, allocations: 0.8895 MB / 470.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.341, allocations: 59.2 kB / 470.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.341, allocations: 0 / 470.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of Templates: time 0.0143/0.3554, allocations: 10.25 MB / 480.9 MB, free: 10.83 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.541949540143833] Failed to read output from testmodel.py, exit status != 0: 0.3636856998782605 0.375667841 0.08464254800000001 Calling exit ...