Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001683/0.001683, allocations: 189.6 kB / 8.129 MB, free: 2.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.145/1.145, allocations: 194.2 MB / 202.8 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001722/0.001722, allocations: 116.3 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.333e-06/7.474e-06, allocations: 0 / 297.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07267/0.07269, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.2769, allocations: 76.2 MB / 418.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.2771, allocations: 76.25 kB / 418.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0348/0.3119, allocations: 15.51 MB / 433.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.312, allocations: 12 kB / 433.9 MB, free: 6.52 MB / 314.7 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.001527/0.3135, allocations: 0.7643 MB / 434.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3135, allocations: 8.031 kB / 434.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.3167, allocations: 475.6 kB / 435.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.3171, allocations: 315.6 kB / 435.4 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3172, allocations: 16 kB / 435.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.3173, allocations: 32 kB / 435.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008903/0.3181, allocations: 0.579 MB / 436 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.3189, allocations: 441.3 kB / 436.5 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3189, allocations: 3.906 kB / 436.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.319, allocations: 0 / 436.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.319, allocations: 16 kB / 436.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.322, allocations: 2.159 MB / 438.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.3226, allocations: 417.8 kB / 439 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3229, allocations: 229.2 kB / 439.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.628e-05/0.323, allocations: 97.52 kB / 439.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.323, allocations: 37.12 kB / 439.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.323, allocations: 3.938 kB / 439.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001006/0.324, allocations: 446 kB / 439.8 MB, free: 1.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.324, allocations: 55.84 kB / 439.9 MB, free: 1.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3242, allocations: 170.6 kB / 440.1 MB, free: 1.363 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3242, allocations: 25.7 kB / 440.1 MB, free: 1.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.3243, allocations: 233 kB / 440.3 MB, free: 1.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.3244, allocations: 156.6 kB / 440.5 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.3244, allocations: 0 / 440.5 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.3245, allocations: 343.8 kB / 440.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3247, allocations: 142.1 kB / 440.9 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.3249, allocations: 270.4 kB / 441.2 MB, free: 340 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3254, allocations: 198 kB / 441.4 MB, free: 212 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3254, allocations: 0 / 441.4 MB, free: 212 kB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001131/0.3265, allocations: 0.5471 MB / 441.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3266, allocations: 4.781 kB / 441.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3266, allocations: 4 kB / 442 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.3269, allocations: 76.12 kB / 442 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.3275, allocations: 114.9 kB / 442.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.3291, allocations: 1.545 MB / 443.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3295, allocations: 43.53 kB / 443.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.3295, allocations: 27.67 kB / 443.8 MB, free: 14.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 0.0001141/0.3296, allocations: 120.2 kB / 443.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3297, allocations: 27.62 kB / 443.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.3309, allocations: 0.5245 MB / 444.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3309, allocations: 8 kB / 444.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3309, allocations: 5.391 kB / 444.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3309, allocations: 0 / 444.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.3327, allocations: 1.151 MB / 445.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3327, allocations: 0 / 445.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.3331, allocations: 91.33 kB / 445.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.3334, allocations: 78.62 kB / 445.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.3335, allocations: 3.984 kB / 445.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.335, allocations: 1.534 MB / 447.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.335, allocations: 0 / 447.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001285/0.3363, allocations: 0.8018 MB / 448.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.3364, allocations: 116.6 kB / 448.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.3364, allocations: 0 / 448.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.3367, allocations: 21.11 kB / 448.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.3368, allocations: 28.22 kB / 448.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.3369, allocations: 19.3 kB / 448.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001126/0.337, allocations: 120 kB / 448.4 MB, free: 9.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.3375, allocations: 143.3 kB / 448.5 MB, free: 9.84 MB / 330.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 (46): * Single equations (assignments): 45 * 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.0002195/0.3378, allocations: 139 kB / 448.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.3386, allocations: 0.5298 MB / 449.2 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3387, allocations: 0 / 449.2 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.3391, allocations: 345 kB / 449.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3394, allocations: 11.75 kB / 449.5 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.3427, allocations: 1.064 MB / 450.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.3432, allocations: 0.862 MB / 451.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3432, allocations: 4 kB / 451.5 MB, free: 7.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01045/0.3537, allocations: 5.12 MB / 456.6 MB, free: 2.188 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)