Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009496/0.0009498, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 106.3 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002208/0.0002208, allocations: 4 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1986, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09232/0.2909, allocations: 83.68 MB / 493.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.2912, allocations: 91.94 kB / 493.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0367/0.328, allocations: 16.33 MB / 0.4976 GB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.328, allocations: 0 / 0.4976 GB, free: 6.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.328, allocations: 12 kB / 0.4976 GB, free: 6.32 MB / 378.7 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.001698/0.3297, allocations: 0.757 MB / 0.4983 GB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3298, allocations: 12.03 kB / 0.4983 GB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.3321, allocations: 359.1 kB / 0.4987 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3325, allocations: 318.1 kB / 0.499 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.3326, allocations: 41.31 kB / 0.499 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3327, allocations: 48 kB / 0.4991 GB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.3336, allocations: 0.5219 MB / 0.4996 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3337, allocations: 0 / 0.4996 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.3337, allocations: 24 kB / 0.4996 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3338, allocations: 12 kB / 0.4996 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3348, allocations: 0.5907 MB / 0.5002 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.3378, allocations: 2.001 MB / 0.5021 GB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.183/0.5208, allocations: 2.175 MB / 0.5043 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.521, allocations: 174.6 kB / 0.5044 GB, free: 87.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.521, allocations: 40.33 kB / 0.5045 GB, free: 86.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.521, allocations: 0 / 0.5045 GB, free: 86.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001921/0.523, allocations: 0.7581 MB / 0.5052 GB, free: 86.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.523, allocations: 60.14 kB / 0.5053 GB, free: 86.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.5232, allocations: 167.3 kB / 0.5054 GB, free: 86.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5232, allocations: 34.92 kB / 0.5055 GB, free: 86.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.5233, allocations: 222.4 kB / 0.5057 GB, free: 86.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.5234, allocations: 162.8 kB / 0.5058 GB, free: 86.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.5234, allocations: 6.188 kB / 0.5058 GB, free: 86.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.5235, allocations: 335.9 kB / 0.5062 GB, free: 86.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.5238, allocations: 160.2 kB / 0.5063 GB, free: 86.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.5241, allocations: 238.7 kB / 0.5065 GB, free: 86.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.5245, allocations: 188 kB / 0.5067 GB, free: 86.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5245, allocations: 0.8125 kB / 0.5067 GB, free: 86.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000966/0.5254, allocations: 0.5447 MB / 0.5073 GB, free: 85.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5255, allocations: 9.609 kB / 0.5073 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5255, allocations: 3.531 kB / 0.5073 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.5258, allocations: 81.92 kB / 0.5073 GB, free: 85.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.5262, allocations: 99.12 kB / 0.5074 GB, free: 85.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.5276, allocations: 1.66 MB / 0.5091 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.5279, allocations: 47.7 kB / 0.5091 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5279, allocations: 24.89 kB / 0.5091 GB, free: 84.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (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.0001704/0.5281, allocations: 162.8 kB / 0.5093 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.5282, allocations: 32.14 kB / 0.5093 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.5292, allocations: 0.5564 MB / 0.5099 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5292, allocations: 9.031 kB / 0.5099 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5292, allocations: 5.328 kB / 0.5099 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5293, allocations: 3.75 kB / 0.5099 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.5309, allocations: 1.141 MB / 0.511 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5309, allocations: 0.5938 kB / 0.511 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.5313, allocations: 81.45 kB / 0.5111 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.5316, allocations: 82.41 kB / 0.5111 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.5317, allocations: 13.36 kB / 0.5112 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.5331, allocations: 1.662 MB / 0.5128 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5331, allocations: 0 / 0.5128 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5343, allocations: 0.8194 MB / 0.5136 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.5343, allocations: 109.9 kB / 0.5137 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.5344, allocations: 11.5 kB / 0.5137 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5346, allocations: 22.36 kB / 0.5137 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.5347, allocations: 32.17 kB / 0.5137 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.5347, allocations: 13.16 kB / 0.5138 GB, free: 82.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.5348, allocations: 133.9 kB / 0.5139 GB, free: 82.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5348, allocations: 4 kB / 0.5139 GB, free: 82.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.5353, allocations: 161.2 kB / 0.514 GB, free: 82.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0002704/0.5356, allocations: 166.2 kB / 0.5142 GB, free: 82.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009213/0.5365, allocations: 0.581 MB / 0.5148 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5365, allocations: 3.562 kB / 0.5148 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.537, allocations: 385.3 kB / 0.5151 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.5372, allocations: 39.39 kB / 0.5152 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5384, allocations: 1.002 MB / 0.5162 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.5386, allocations: 0.8152 MB / 0.517 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.5388, allocations: 47.83 kB / 0.517 GB, free: 80.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.5389, allocations: 33.25 kB / 0.517 GB, free: 80.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5389, allocations: 0 / 0.517 GB, free: 80.88 MB / 378.7 MB Notification: Performance of Templates: time 0.006859/0.5458, allocations: 3.917 MB / 0.5209 GB, free: 80.65 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_model.h:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_functions.h:248:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.o] Error 1