Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 175.5 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.291/1.291, allocations: 223.3 MB / 241.4 MB, free: 9.988 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.0007436/0.0007436, allocations: 96.67 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 12 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 50.41 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09236/0.3253, allocations: 82.87 MB / 485.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.3256, allocations: 88.95 kB / 485.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03642/0.362, allocations: 15.52 MB / 0.4895 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3621, allocations: 0 / 0.4895 GB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3621, allocations: 8 kB / 0.4895 GB, free: 13.66 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.001583/0.3637, allocations: 0.7534 MB / 0.4902 GB, free: 12.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3637, allocations: 8.031 kB / 0.4902 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.3662, allocations: 360 kB / 0.4906 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.3666, allocations: 307.5 kB / 0.4909 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.3667, allocations: 45.69 kB / 0.4909 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.3668, allocations: 48.38 kB / 0.491 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.3677, allocations: 0.5146 MB / 0.4915 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.3678, allocations: 4.094 kB / 0.4915 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.3678, allocations: 23.94 kB / 0.4915 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.3678, allocations: 19.98 kB / 0.4915 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3689, allocations: 0.5712 MB / 0.4921 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.3717, allocations: 1.885 MB / 0.4939 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3738, allocations: 2.193 MB / 0.496 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.3742, allocations: 214.1 kB / 0.4963 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.666e-05/0.3743, allocations: 89.48 kB / 0.4963 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3743, allocations: 39 kB / 0.4964 GB, free: 5.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.384e-06/0.3743, allocations: 0 / 0.4964 GB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001845/0.3762, allocations: 0.7973 MB / 0.4972 GB, free: 5.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3762, allocations: 55.84 kB / 0.4972 GB, free: 5.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3764, allocations: 182.8 kB / 0.4974 GB, free: 4.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3765, allocations: 33.7 kB / 0.4974 GB, free: 4.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3766, allocations: 212.5 kB / 0.4976 GB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.3767, allocations: 165.6 kB / 0.4978 GB, free: 4.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.3768, allocations: 11.94 kB / 0.4978 GB, free: 4.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3769, allocations: 346.8 kB / 0.4981 GB, free: 4.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.3772, allocations: 149.1 kB / 0.4983 GB, free: 3.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.3776, allocations: 236.8 kB / 0.4985 GB, free: 3.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.3782, allocations: 403.4 kB / 0.4989 GB, free: 3.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3782, allocations: 0 / 0.4989 GB, free: 3.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009544/0.3792, allocations: 0.5316 MB / 0.4994 GB, free: 2.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3792, allocations: 7.938 kB / 0.4994 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3792, allocations: 4.219 kB / 0.4994 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.3796, allocations: 88.81 kB / 0.4995 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.3799, allocations: 91.88 kB / 0.4996 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.3818, allocations: 1.859 MB / 0.5014 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3821, allocations: 43.59 kB / 0.5014 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3821, allocations: 19.98 kB / 0.5014 GB, free: 0.5117 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 (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.3824, allocations: 165.7 kB / 0.5016 GB, free: 348 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3824, allocations: 27.66 kB / 0.5016 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1755/0.558, allocations: 0.5415 MB / 0.5022 GB, free: 94.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.558, allocations: 4.969 kB / 0.5022 GB, free: 94.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.558, allocations: 2.297 kB / 0.5022 GB, free: 94.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.558, allocations: 3.516 kB / 0.5022 GB, free: 94.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.5598, allocations: 1.124 MB / 0.5033 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5599, allocations: 2.844 kB / 0.5033 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.5602, allocations: 76.81 kB / 0.5033 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.5605, allocations: 91.81 kB / 0.5034 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.5605, allocations: 12.31 kB / 0.5034 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.5621, allocations: 1.837 MB / 0.5052 GB, free: 93.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5621, allocations: 2.938 kB / 0.5052 GB, free: 93.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5634, allocations: 0.7971 MB / 0.506 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.5634, allocations: 111.2 kB / 0.5061 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5635, allocations: 9.547 kB / 0.5061 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.5637, allocations: 20.94 kB / 0.5062 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.5638, allocations: 40.77 kB / 0.5062 GB, free: 92.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.5639, allocations: 14.72 kB / 0.5062 GB, free: 92.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.564, allocations: 137.7 kB / 0.5063 GB, free: 92.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.564, allocations: 0 / 0.5063 GB, free: 92.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.5646, allocations: 152.6 kB / 0.5065 GB, free: 92.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002223/0.5649, allocations: 153.1 kB / 0.5066 GB, free: 92.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.5659, allocations: 0.5727 MB / 0.5072 GB, free: 92.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5659, allocations: 0.5312 kB / 0.5072 GB, free: 92.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006224/0.5665, allocations: 385.8 kB / 0.5076 GB, free: 92.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.5669, allocations: 30.8 kB / 0.5076 GB, free: 92.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.568, allocations: 1.01 MB / 0.5086 GB, free: 91.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.5682, allocations: 0.8065 MB / 0.5094 GB, free: 91.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.5684, allocations: 43.78 kB / 0.5094 GB, free: 91.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.5685, allocations: 33.02 kB / 0.5094 GB, free: 91.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5685, allocations: 7.938 kB / 0.5094 GB, free: 91.09 MB / 378.7 MB Notification: Performance of Templates: time 0.006528/0.5751, allocations: 3.855 MB / 0.5132 GB, free: 90.86 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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_SeriesResonance -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.SeriesResonance.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_model.h:26: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_functions.h:234:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.o] Error 1