Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001523, allocations: 200.1 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008115/0.0008114, allocations: 107.6 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3726/0.3726, allocations: 44.83 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3837, allocations: 62.96 MB / 0.5184 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.5252, allocations: 101.3 MB / 0.6173 GB, free: 4.012 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5255, allocations: 87.94 kB / 0.6174 GB, free: 3.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09026/0.6158, allocations: 37.49 MB / 0.654 GB, free: 14.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6159, allocations: 4 kB / 0.654 GB, free: 14.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.187e-05/0.6159, allocations: 20 kB / 0.654 GB, free: 14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00495/0.6209, allocations: 1.367 MB / 0.6554 GB, free: 12.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.621, allocations: 8.031 kB / 0.6554 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009869/0.6308, allocations: 0.9672 MB / 0.6563 GB, free: 11.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.6329, allocations: 0.575 MB / 0.6569 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.6331, allocations: 99.03 kB / 0.657 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006234/0.6337, allocations: 132.3 kB / 0.6571 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.6384, allocations: 1.242 MB / 0.6583 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.6385, allocations: 192 / 0.6583 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.6387, allocations: 59.94 kB / 0.6584 GB, free: 9.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.6387, allocations: 32 kB / 0.6584 GB, free: 9.398 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004464/0.6432, allocations: 1.451 MB / 0.6598 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.6584, allocations: 5.891 MB / 0.6656 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.6614, allocations: 0.9264 MB / 0.6665 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009923/0.6624, allocations: 359.8 kB / 0.6668 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.6628, allocations: 195.1 kB / 0.667 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/0.6629, allocations: 47.56 kB / 0.6671 GB, free: 15.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.12e-06/0.6629, allocations: 0 / 0.6671 GB, free: 15.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.003919/0.6668, allocations: 1.202 MB / 0.6682 GB, free: 14.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6669, allocations: 60.41 kB / 0.6683 GB, free: 14.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.6687, allocations: 0.8169 MB / 0.6691 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.6689, allocations: 45.7 kB / 0.6691 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.6694, allocations: 0.5024 MB / 0.6696 GB, free: 13.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.6698, allocations: 303.6 kB / 0.6699 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.6698, allocations: 20 kB / 0.6699 GB, free: 12.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.6701, allocations: 406.6 kB / 0.6703 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.6713, allocations: 338.5 kB / 0.6706 GB, free: 12.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.6727, allocations: 0.6186 MB / 0.6712 GB, free: 11.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.6752, allocations: 0.9875 MB / 0.6722 GB, free: 10.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.6752, allocations: 4 kB / 0.6722 GB, free: 10.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003707/0.6789, allocations: 1.17 MB / 0.6734 GB, free: 9.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.679, allocations: 12 kB / 0.6734 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.6791, allocations: 8 kB / 0.6734 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.6796, allocations: 65.67 kB / 0.6734 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.6814, allocations: 263.7 kB / 0.6737 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.6845, allocations: 2.634 MB / 0.6763 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6861, allocations: 158.5 kB / 0.6764 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.6862, allocations: 47.98 kB / 0.6765 GB, free: 5.727 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007842/0.687, allocations: 269.3 kB / 0.6767 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.6873, allocations: 90.88 kB / 0.6768 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.6905, allocations: 1.107 MB / 0.6779 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.6906, allocations: 8 kB / 0.6779 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.6906, allocations: 3.938 kB / 0.6779 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.6906, allocations: 3.984 kB / 0.6779 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006958/0.6976, allocations: 3.138 MB / 0.681 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.6977, allocations: 8 kB / 0.681 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.6989, allocations: 179.7 kB / 0.6811 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.6993, allocations: 66.27 kB / 0.6812 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.6994, allocations: 28 kB / 0.6812 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.343/1.042, allocations: 2.614 MB / 0.6838 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.863e-05/1.043, allocations: 8.281 kB / 0.6838 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/1.047, allocations: 1.477 MB / 0.6852 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/1.048, allocations: 221.1 kB / 0.6854 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.048, allocations: 22.72 kB / 0.6855 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/1.049, allocations: 61.44 kB / 0.6855 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/1.049, allocations: 80.66 kB / 0.6856 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/1.049, allocations: 34.41 kB / 0.6856 GB, free: 106 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00116/1.05, allocations: 0.5733 MB / 0.6862 GB, free: 105.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.05, allocations: 0 / 0.6862 GB, free: 105.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001389/1.051, allocations: 321.6 kB / 0.6865 GB, free: 105.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentRMSSensor.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 (93): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003585/1.052, allocations: 187.7 kB / 0.6867 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/1.054, allocations: 1.081 MB / 0.6877 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.054, allocations: 7.703 kB / 0.6877 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009035/1.055, allocations: 0.6264 MB / 0.6884 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.056, allocations: 132.3 kB / 0.6885 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/1.059, allocations: 2.223 MB / 0.6906 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/1.06, allocations: 1.015 MB / 0.6916 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007074/1.06, allocations: 158.9 kB / 0.6918 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.061, allocations: 81.56 kB / 0.6919 GB, free: 103.4 MB / 490.7 MB Notification: Performance of SimCode: time 8.61e-07/1.061, allocations: 0 / 0.6919 GB, free: 103.4 MB / 490.7 MB Notification: Performance of Templates: time 0.01986/1.081, allocations: 9.853 MB / 0.7015 GB, free: 102.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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=ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.c In file included from ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_model.h:26: ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_functions.h:286: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: *** [: ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.o] Error 1