Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001353/0.001353, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.372/1.372, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001634, allocations: 99.52 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.597e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07358/0.07361, allocations: 38.78 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/0.3698, allocations: 69.4 MB / 370.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.37, allocations: 78.77 kB / 370.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02722/0.3973, allocations: 12.24 MB / 382.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3973, allocations: 0 / 382.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.3973, allocations: 8 kB / 382.7 MB, free: 5.195 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001577/0.3989, allocations: 0.6697 MB / 383.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.399, allocations: 8.031 kB / 383.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.3992, allocations: 55.33 kB / 383.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3995, allocations: 255.5 kB / 383.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3996, allocations: 12 kB / 383.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.3996, allocations: 24 kB / 383.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004311/0.4001, allocations: 241.7 kB / 384 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.4006, allocations: 289 kB / 384.3 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4007, allocations: 3.938 kB / 384.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.4007, allocations: 4 kB / 384.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4007, allocations: 8 kB / 384.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.4027, allocations: 1.283 MB / 385.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.4031, allocations: 156.3 kB / 385.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.4033, allocations: 113 kB / 385.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4033, allocations: 4 kB / 385.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4034, allocations: 34.12 kB / 385.9 MB, free: 2.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.4034, allocations: 4 kB / 385.9 MB, free: 2.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004965/0.4039, allocations: 187.3 kB / 386 MB, free: 2.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4039, allocations: 55.41 kB / 386.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.404, allocations: 135.5 kB / 386.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4041, allocations: 25.7 kB / 386.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4042, allocations: 209.9 kB / 386.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.4043, allocations: 62.44 kB / 386.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.4043, allocations: 0 / 386.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4044, allocations: 325.8 kB / 386.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.4045, allocations: 43.62 kB / 386.9 MB, free: 1.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4046, allocations: 116.2 kB / 387 MB, free: 1.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.4047, allocations: 68.41 kB / 387.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4047, allocations: 0 / 387.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004652/0.4052, allocations: 253.9 kB / 387.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4053, allocations: 4 kB / 387.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4053, allocations: 7.938 kB / 387.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.4056, allocations: 75.09 kB / 387.4 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.4058, allocations: 47.34 kB / 387.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.4073, allocations: 1.562 MB / 389 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.4075, allocations: 27.73 kB / 389 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4075, allocations: 8 kB / 389 MB, free: 15.5 MB / 282.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/0.4076, allocations: 113.9 kB / 389.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.4077, allocations: 15.86 kB / 389.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.4081, allocations: 193.8 kB / 389.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4081, allocations: 0 / 389.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4081, allocations: 11.94 kB / 389.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4081, allocations: 0 / 389.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.409, allocations: 0.5788 MB / 389.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.409, allocations: 4 kB / 389.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.4091, allocations: 23.8 kB / 390 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.4094, allocations: 72.19 kB / 390 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4094, allocations: 7.938 kB / 390.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.4109, allocations: 1.567 MB / 391.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4109, allocations: 0 / 391.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.4114, allocations: 394.9 kB / 392 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.4115, allocations: 88.92 kB / 392.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4115, allocations: 0 / 392.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.4117, allocations: 15.98 kB / 392.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4117, allocations: 19.94 kB / 392.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4118, allocations: 7.938 kB / 392.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.244e-05/0.4118, allocations: 111.3 kB / 392.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4118, allocations: 0 / 392.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.4123, allocations: 95.52 kB / 392.3 MB, free: 12.41 MB / 282.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002076/0.4125, allocations: 115.1 kB / 392.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.413, allocations: 287.5 kB / 392.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.413, allocations: 64 / 392.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.4133, allocations: 215.8 kB / 392.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4136, allocations: 7.938 kB / 392.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.4144, allocations: 382.7 kB / 393.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4147, allocations: 0.7672 MB / 394.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.81e-05/0.4148, allocations: 17.2 kB / 394.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.4149, allocations: 11.44 kB / 394.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4149, allocations: 0 / 394.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of Templates: time 0.005359/0.4202, allocations: 2.111 MB / 396.2 MB, free: 8.566 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)