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.001003/0.001003, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.235/1.235, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.000937/0.0009369, allocations: 87.86 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.000298, allocations: 4 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2443, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0974/0.3418, allocations: 82.82 MB / 484.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3421, allocations: 84.64 kB / 484.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03667/0.3788, allocations: 15.64 MB / 0.4883 GB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3788, allocations: 0 / 0.4883 GB, free: 13.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.3788, allocations: 8 kB / 0.4883 GB, free: 13.76 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.001593/0.3804, allocations: 0.7532 MB / 0.4891 GB, free: 12.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3805, allocations: 12.03 kB / 0.4891 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.3827, allocations: 367 kB / 0.4894 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.3831, allocations: 306.3 kB / 0.4897 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3831, allocations: 41.31 kB / 0.4898 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.3832, allocations: 52 kB / 0.4898 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.3842, allocations: 0.518 MB / 0.4903 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3842, allocations: 0 / 0.4903 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.3843, allocations: 28 kB / 0.4903 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3843, allocations: 16 kB / 0.4904 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.3853, allocations: 0.5867 MB / 0.4909 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.3882, allocations: 1.91 MB / 0.4928 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3901, allocations: 2.185 MB / 0.4949 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.301e-05/0.3902, allocations: 85.55 kB / 0.495 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3902, allocations: 35 kB / 0.495 GB, free: 6.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.687e-06/0.3902, allocations: 4 kB / 0.495 GB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001692/0.3919, allocations: 0.7587 MB / 0.4958 GB, free: 5.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.392, allocations: 59.78 kB / 0.4958 GB, free: 5.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3922, allocations: 169.9 kB / 0.496 GB, free: 5.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3922, allocations: 37.7 kB / 0.496 GB, free: 5.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3923, allocations: 220.5 kB / 0.4962 GB, free: 4.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3924, allocations: 153.7 kB / 0.4964 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.3925, allocations: 15.94 kB / 0.4964 GB, free: 4.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3926, allocations: 334.8 kB / 0.4967 GB, free: 4.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.3929, allocations: 165 kB / 0.4969 GB, free: 4.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.3934, allocations: 236.8 kB / 0.4971 GB, free: 4.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.3937, allocations: 188.8 kB / 0.4973 GB, free: 3.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3938, allocations: 3.938 kB / 0.4973 GB, free: 3.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001023/0.3948, allocations: 0.5433 MB / 0.4978 GB, free: 3.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3948, allocations: 8 kB / 0.4978 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3948, allocations: 0 / 0.4978 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.3952, allocations: 88.98 kB / 0.4979 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.3956, allocations: 103.8 kB / 0.498 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.3973, allocations: 1.656 MB / 0.4996 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3976, allocations: 51.52 kB / 0.4997 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.3976, allocations: 16 kB / 0.4997 GB, free: 1.254 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.0002531/0.3979, allocations: 165.8 kB / 0.4999 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.3979, allocations: 27.67 kB / 0.4999 GB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.399, allocations: 0.5628 MB / 0.5004 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3991, allocations: 8 kB / 0.5004 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3991, allocations: 0 / 0.5004 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3991, allocations: 3.984 kB / 0.5004 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1977/0.5968, allocations: 1.133 MB / 0.5016 GB, free: 94.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5969, allocations: 0.875 kB / 0.5016 GB, free: 94.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.5973, allocations: 87.03 kB / 0.5016 GB, free: 94.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.5976, allocations: 74.73 kB / 0.5017 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.5977, allocations: 11.66 kB / 0.5017 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.5991, allocations: 1.66 MB / 0.5033 GB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5991, allocations: 0 / 0.5033 GB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6004, allocations: 0.8143 MB / 0.5041 GB, free: 92.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.6005, allocations: 111.6 kB / 0.5042 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.6005, allocations: 11.11 kB / 0.5043 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.6008, allocations: 23.41 kB / 0.5043 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.6009, allocations: 39.05 kB / 0.5043 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.6009, allocations: 13.41 kB / 0.5043 GB, free: 92.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.6011, allocations: 134 kB / 0.5045 GB, free: 92.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6011, allocations: 0 / 0.5045 GB, free: 92.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.6017, allocations: 164.4 kB / 0.5046 GB, free: 92.76 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.0002639/0.6019, allocations: 147.5 kB / 0.5047 GB, free: 92.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.6032, allocations: 0.582 MB / 0.5053 GB, free: 92.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6032, allocations: 0 / 0.5053 GB, free: 92.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.6038, allocations: 393.8 kB / 0.5057 GB, free: 92.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.6041, allocations: 25.41 kB / 0.5057 GB, free: 92.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6062, allocations: 1.014 MB / 0.5067 GB, free: 91.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.6065, allocations: 0.8223 MB / 0.5075 GB, free: 91.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.6067, allocations: 45.44 kB / 0.5076 GB, free: 91.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.6068, allocations: 29.94 kB / 0.5076 GB, free: 91.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6068, allocations: 0 / 0.5076 GB, free: 91.21 MB / 378.7 MB Notification: Performance of Templates: time 0.007312/0.6141, allocations: 3.881 MB / 0.5114 GB, free: 90.98 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 -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_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:24: ./Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.o] Error 1