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.001127/0.001127, allocations: 200.2 kB / 18.1 MB, free: 3.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009431/0.0009431, allocations: 102.4 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002201, allocations: 11.98 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2133, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0992/0.3126, allocations: 83.65 MB / 493 MB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.313, allocations: 86.02 kB / 493.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03769/0.3507, allocations: 16.3 MB / 0.4975 GB, free: 7.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3507, allocations: 0 / 0.4975 GB, free: 7.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.3507, allocations: 8 kB / 0.4975 GB, free: 7.293 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.0017/0.3524, allocations: 0.7611 MB / 0.4982 GB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3525, allocations: 12.03 kB / 0.4982 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.3548, allocations: 368 kB / 0.4986 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.3553, allocations: 307.6 kB / 0.4989 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.3553, allocations: 37.69 kB / 0.4989 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3554, allocations: 56.38 kB / 0.499 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.3564, allocations: 0.5224 MB / 0.4995 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.3564, allocations: 4.094 kB / 0.4995 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.3565, allocations: 27.94 kB / 0.4995 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3565, allocations: 12 kB / 0.4995 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3575, allocations: 0.5869 MB / 0.5001 GB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.3606, allocations: 1.997 MB / 0.502 GB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1808/0.5414, allocations: 2.176 MB / 0.5042 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.5422, allocations: 262.7 kB / 0.5044 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.5424, allocations: 172.5 kB / 0.5046 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.5425, allocations: 36.56 kB / 0.5046 GB, free: 89.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.5425, allocations: 0.8438 kB / 0.5046 GB, free: 89.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001911/0.5444, allocations: 0.7475 MB / 0.5053 GB, free: 89.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.5444, allocations: 57.09 kB / 0.5054 GB, free: 89.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.5446, allocations: 178.2 kB / 0.5056 GB, free: 89.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5447, allocations: 34.95 kB / 0.5056 GB, free: 89.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5448, allocations: 222.7 kB / 0.5058 GB, free: 89.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.5449, allocations: 160.6 kB / 0.506 GB, free: 89.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.5449, allocations: 10.44 kB / 0.506 GB, free: 89.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.545, allocations: 333.5 kB / 0.5063 GB, free: 88.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.5453, allocations: 156.3 kB / 0.5064 GB, free: 88.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.5457, allocations: 243.9 kB / 0.5067 GB, free: 88.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.5463, allocations: 418.6 kB / 0.5071 GB, free: 88.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5463, allocations: 0 / 0.5071 GB, free: 88.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009625/0.5473, allocations: 0.5465 MB / 0.5076 GB, free: 88.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5473, allocations: 5.812 kB / 0.5076 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5474, allocations: 3.844 kB / 0.5076 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.5477, allocations: 77.61 kB / 0.5077 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.5481, allocations: 103.6 kB / 0.5078 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.5495, allocations: 1.637 MB / 0.5094 GB, free: 87.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5497, allocations: 49.67 kB / 0.5094 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.5498, allocations: 24.12 kB / 0.5095 GB, free: 87.36 MB / 378.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 () * 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.0001973/0.55, allocations: 170.4 kB / 0.5096 GB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.55, allocations: 25.03 kB / 0.5096 GB, free: 87.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.5512, allocations: 0.5444 MB / 0.5102 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.5512, allocations: 5.156 kB / 0.5102 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5512, allocations: 1.75 kB / 0.5102 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.5512, allocations: 2.562 kB / 0.5102 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.5531, allocations: 1.166 MB / 0.5113 GB, free: 86.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5531, allocations: 0.5625 kB / 0.5113 GB, free: 86.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.5535, allocations: 81 kB / 0.5114 GB, free: 86.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.5537, allocations: 80.27 kB / 0.5115 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.5538, allocations: 20.47 kB / 0.5115 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.5549, allocations: 1.643 MB / 0.5131 GB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.555, allocations: 3.375 kB / 0.5131 GB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.556, allocations: 0.8036 MB / 0.5139 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.5561, allocations: 110.2 kB / 0.514 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.5561, allocations: 15.19 kB / 0.514 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5564, allocations: 29.19 kB / 0.514 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.5564, allocations: 35.72 kB / 0.5141 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.5565, allocations: 13.34 kB / 0.5141 GB, free: 85.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.435e-05/0.5566, allocations: 137.1 kB / 0.5142 GB, free: 85.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5566, allocations: 0 / 0.5142 GB, free: 85.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005405/0.5571, allocations: 155.7 kB / 0.5144 GB, free: 85.11 MB / 378.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 () * 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.0002259/0.5573, allocations: 168.5 kB / 0.5145 GB, free: 85.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008576/0.5582, allocations: 0.5706 MB / 0.5151 GB, free: 84.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5582, allocations: 4.188 kB / 0.5151 GB, free: 84.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.5587, allocations: 381.9 kB / 0.5155 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.559, allocations: 35.61 kB / 0.5155 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.5601, allocations: 1.02 MB / 0.5165 GB, free: 84.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5603, allocations: 0.8108 MB / 0.5173 GB, free: 83.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.5606, allocations: 46.34 kB / 0.5173 GB, free: 83.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/0.5606, allocations: 36.41 kB / 0.5174 GB, free: 83.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5607, allocations: 0 / 0.5174 GB, free: 83.47 MB / 378.7 MB Notification: Performance of Templates: time 0.006671/0.5673, allocations: 3.896 MB / 0.5212 GB, free: 83.24 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 -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_functions.h:234: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