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.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB 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.001939/0.001939, allocations: 63.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2756, allocations: 50.54 MB / 409 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005134/0.2807, allocations: 3.704 MB / 412.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2833, allocations: 1.487 MB / 414.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.2836, allocations: 16 kB / 414.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.2854, allocations: 0.7428 MB / 415 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008951/0.2863, allocations: 385.9 kB / 415.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2873, allocations: 0.5455 MB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.2879, allocations: 466 kB / 416.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.2886, allocations: 465.7 kB / 416.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.289, allocations: 223.2 kB / 417 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2894, allocations: 278.9 kB / 417.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.2894, allocations: 44 kB / 417.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.2899, allocations: 215.8 kB / 417.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.933e-05/0.29, allocations: 111.6 kB / 417.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.2902, allocations: 234.8 kB / 417.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009113/0.2912, allocations: 0.7121 MB / 418.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2912, allocations: 0 / 418.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2912, allocations: 0 / 418.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2912, allocations: 0 / 418.6 MB, free: 7.938 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002131/0.2933, allocations: 0.9239 MB / 419.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2934, allocations: 8.031 kB / 419.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.2935, allocations: 104 kB / 419.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.2971, allocations: 496.2 kB / 420.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.2976, allocations: 314.6 kB / 420.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.2977, allocations: 41.69 kB / 420.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.81e-05/0.2978, allocations: 56.33 kB / 420.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2988, allocations: 0.5335 MB / 421.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2988, allocations: 0 / 421.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.2989, allocations: 24 kB / 421.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2989, allocations: 12 kB / 421.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3, allocations: 0.579 MB / 421.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.3032, allocations: 1.962 MB / 423.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.3056, allocations: 2.162 MB / 425.8 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.3062, allocations: 270.1 kB / 426.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.3064, allocations: 178.5 kB / 426.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3064, allocations: 39 kB / 426.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 4.748e-06/0.3064, allocations: 0 / 426.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001864/0.3083, allocations: 0.7466 MB / 427 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3084, allocations: 55.84 kB / 427.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3086, allocations: 186.3 kB / 427.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3087, allocations: 37.7 kB / 427.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3088, allocations: 225 kB / 427.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.309, allocations: 162.5 kB / 427.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3091, allocations: 90.23 kB / 427.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3093, allocations: 342.8 kB / 428.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.3096, allocations: 149.1 kB / 428.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.31, allocations: 238.5 kB / 428.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.3107, allocations: 424.9 kB / 428.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3107, allocations: 0 / 428.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001065/0.3118, allocations: 0.5358 MB / 429.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3118, allocations: 4 kB / 429.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3119, allocations: 4 kB / 429.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.3122, allocations: 88.81 kB / 429.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.3127, allocations: 95.83 kB / 429.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.3147, allocations: 1.775 MB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.315, allocations: 47.67 kB / 431.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.315, allocations: 19.94 kB / 431.5 MB, free: 10.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.3153, allocations: 169.8 kB / 431.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.3153, allocations: 31.75 kB / 431.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.3165, allocations: 0.5395 MB / 432.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3165, allocations: 4 kB / 432.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3165, allocations: 7.938 kB / 432.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.3165, allocations: 3.984 kB / 432.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3184, allocations: 1.14 MB / 433.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3185, allocations: 0 / 433.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.3188, allocations: 75.91 kB / 433.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.3191, allocations: 80.86 kB / 433.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.3192, allocations: 12 kB / 433.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.3211, allocations: 1.774 MB / 435.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3212, allocations: 3.938 kB / 435.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.3226, allocations: 0.803 MB / 436.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3227, allocations: 112.8 kB / 436.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3227, allocations: 12 kB / 436.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.323, allocations: 16.06 kB / 436.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3231, allocations: 40.31 kB / 436.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.3231, allocations: 16 kB / 436.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3233, allocations: 132.2 kB / 436.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3233, allocations: 4 kB / 436.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006135/0.3239, allocations: 147.7 kB / 436.6 MB, free: 4.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/0.326, allocations: 1.383 MB / 438 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3273, allocations: 0.5698 MB / 438.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3273, allocations: 0 / 438.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.328, allocations: 393.5 kB / 438.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3285, allocations: 35.88 kB / 439 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.3338, allocations: 3.449 MB / 442.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.3344, allocations: 0.8123 MB / 443.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.3346, allocations: 42.97 kB / 443.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.3348, allocations: 139.4 kB / 443.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3348, allocations: 0 / 443.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.3712, allocations: 7.621 MB / 451 MB, free: 6.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.61, allocations: 7.922 kB / 451 MB, free: 6.262 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1)