Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008978/0.0008977, allocations: 175.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 107.2 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 11.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2037, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.094/0.2978, allocations: 82.88 MB / 485.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.298, allocations: 75.97 kB / 485.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03691/0.3349, allocations: 15.6 MB / 0.4896 GB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.335, allocations: 0 / 0.4896 GB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.335, allocations: 8 kB / 0.4896 GB, free: 13.61 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.001839/0.3368, allocations: 0.7455 MB / 0.4903 GB, free: 12.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3369, allocations: 12.03 kB / 0.4903 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.3392, allocations: 364 kB / 0.4907 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.3397, allocations: 315.6 kB / 0.491 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3397, allocations: 41.62 kB / 0.491 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.3398, allocations: 56.31 kB / 0.4911 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000975/0.3408, allocations: 0.5225 MB / 0.4916 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.3409, allocations: 4.094 kB / 0.4916 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.3409, allocations: 27.92 kB / 0.4916 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3409, allocations: 16 kB / 0.4916 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.342, allocations: 0.5869 MB / 0.4922 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.3451, allocations: 1.918 MB / 0.4941 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.347, allocations: 2.165 MB / 0.4962 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.3475, allocations: 266.1 kB / 0.4964 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.3476, allocations: 97.47 kB / 0.4965 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3476, allocations: 35 kB / 0.4965 GB, free: 5.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.3476, allocations: 0 / 0.4965 GB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001682/0.3493, allocations: 0.7427 MB / 0.4973 GB, free: 5.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3494, allocations: 55.84 kB / 0.4973 GB, free: 5.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3496, allocations: 186.9 kB / 0.4975 GB, free: 4.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.3496, allocations: 33.7 kB / 0.4975 GB, free: 4.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3497, allocations: 228.3 kB / 0.4978 GB, free: 4.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3499, allocations: 153.8 kB / 0.4979 GB, free: 4.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.3499, allocations: 8 kB / 0.4979 GB, free: 4.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.35, allocations: 338.8 kB / 0.4982 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.3503, allocations: 153 kB / 0.4984 GB, free: 3.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.3507, allocations: 242.5 kB / 0.4986 GB, free: 3.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.3513, allocations: 420.9 kB / 0.499 GB, free: 3.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3513, allocations: 0 / 0.499 GB, free: 3.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000964/0.3523, allocations: 0.5433 MB / 0.4995 GB, free: 2.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3523, allocations: 7.938 kB / 0.4995 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3523, allocations: 11.98 kB / 0.4996 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.3527, allocations: 84.94 kB / 0.4996 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.353, allocations: 99.83 kB / 0.4997 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.3546, allocations: 1.637 MB / 0.5013 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.3549, allocations: 43.53 kB / 0.5014 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.3549, allocations: 23.98 kB / 0.5014 GB, free: 0.5977 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.000194/0.3551, allocations: 169.7 kB / 0.5016 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.3552, allocations: 31.62 kB / 0.5016 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1579/0.5131, allocations: 0.5368 MB / 0.5021 GB, free: 94.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5131, allocations: 5.703 kB / 0.5021 GB, free: 94.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.5132, allocations: 2.406 kB / 0.5021 GB, free: 94.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5132, allocations: 2.625 kB / 0.5021 GB, free: 94.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.5153, allocations: 1.162 MB / 0.5033 GB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5153, allocations: 5 kB / 0.5033 GB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.5157, allocations: 80.72 kB / 0.5033 GB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.516, allocations: 82.59 kB / 0.5034 GB, free: 94.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-05/0.5161, allocations: 8.797 kB / 0.5034 GB, free: 94.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.5174, allocations: 1.639 MB / 0.505 GB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.5174, allocations: 3 kB / 0.505 GB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5187, allocations: 0.8083 MB / 0.5058 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.5188, allocations: 113.3 kB / 0.5059 GB, free: 92.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.5189, allocations: 11.72 kB / 0.5059 GB, free: 92.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.5191, allocations: 22.81 kB / 0.506 GB, free: 92.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.5192, allocations: 38.94 kB / 0.506 GB, free: 92.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.5193, allocations: 15.11 kB / 0.506 GB, free: 92.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.5194, allocations: 135.3 kB / 0.5061 GB, free: 92.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5194, allocations: 0 / 0.5061 GB, free: 92.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006124/0.52, allocations: 149.2 kB / 0.5063 GB, free: 92.61 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.0002934/0.5203, allocations: 155.2 kB / 0.5064 GB, free: 92.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.5214, allocations: 0.5718 MB / 0.507 GB, free: 92.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5214, allocations: 1.719 kB / 0.507 GB, free: 92.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.522, allocations: 391.1 kB / 0.5074 GB, free: 92.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.5224, allocations: 28.34 kB / 0.5074 GB, free: 92.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.5237, allocations: 1.026 MB / 0.5084 GB, free: 91.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.524, allocations: 0.8103 MB / 0.5092 GB, free: 91.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000255/0.5242, allocations: 48 kB / 0.5092 GB, free: 91.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.5243, allocations: 30.12 kB / 0.5093 GB, free: 91.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5243, allocations: 0 / 0.5093 GB, free: 91.02 MB / 378.7 MB Notification: Performance of Templates: time 0.006839/0.5312, allocations: 3.856 MB / 0.513 GB, free: 90.79 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_model.h:26: ./Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.o] Error 1