Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008648/0.0008648, allocations: 94.45 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2844/0.2844, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002441/0.0002441, allocations: 4 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3322, allocations: 63.24 MB / 0.5192 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.4658, allocations: 117.1 MB / 0.6335 GB, free: 4.543 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.466, allocations: 83.95 kB / 0.6336 GB, free: 4.461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.775/2.241, allocations: 494.7 MB / 1.117 GB, free: 42.32 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.365e-06/2.242, allocations: 0 / 1.117 GB, free: 42.32 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0007612/2.242, allocations: 302.5 kB / 1.117 GB, free: 42.32 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04536/2.288, allocations: 13.97 MB / 1.131 GB, free: 40.38 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/2.288, allocations: 9.625 kB / 1.131 GB, free: 40.38 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03839/2.326, allocations: 7.915 MB / 1.138 GB, free: 39.66 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02293/2.349, allocations: 9.09 MB / 1.147 GB, free: 38.6 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001435/2.351, allocations: 0.9893 MB / 1.148 GB, free: 38.57 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005399/2.356, allocations: 1.289 MB / 1.149 GB, free: 38.57 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04901/2.405, allocations: 23.24 MB / 1.172 GB, free: 36.94 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000279/2.405, allocations: 21.86 kB / 1.172 GB, free: 36.93 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/2.407, allocations: 0.5564 MB / 1.173 GB, free: 36.93 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008644/2.408, allocations: 1.022 MB / 1.174 GB, free: 36.9 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/2.444, allocations: 20.02 MB / 1.193 GB, free: 36.77 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/2.567, allocations: 73.16 MB / 1.265 GB, free: 5.258 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02528/2.592, allocations: 28.64 MB / 1.293 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03565/2.628, allocations: 16.61 MB / 1.309 GB, free: 116 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/2.628, allocations: 82.11 kB / 1.309 GB, free: 24 kB / 0.573 GB Notification: Performance of pre-optimization done (n=465): time 7.063e-06/2.628, allocations: 0 / 1.309 GB, free: 24 kB / 0.573 GB Notification: Performance of matching and sorting (n=465): time 0.04866/2.677, allocations: 16.81 MB / 1.325 GB, free: 6.305 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/2.677, allocations: 124.7 kB / 1.325 GB, free: 6.164 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009273/2.686, allocations: 4.562 MB / 1.33 GB, free: 2.391 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/2.687, allocations: 101.7 kB / 1.33 GB, free: 2.285 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.308/2.995, allocations: 5.854 MB / 1.336 GB, free: 90.43 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002175/2.997, allocations: 1.587 MB / 1.337 GB, free: 89.64 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/2.998, allocations: 145.9 kB / 1.337 GB, free: 89.64 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0003991/2.998, allocations: 0.6121 MB / 1.338 GB, free: 89.32 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005779/3.004, allocations: 4.117 MB / 1.342 GB, free: 89.31 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/3.01, allocations: 7.141 MB / 1.349 GB, free: 85.62 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/3.016, allocations: 5.563 MB / 1.354 GB, free: 85.57 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.556e-05/3.016, allocations: 31.22 kB / 1.354 GB, free: 85.57 MB / 0.5887 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.01657/3.033, allocations: 13 MB / 1.367 GB, free: 85.15 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-05/3.033, allocations: 53.36 kB / 1.367 GB, free: 85.15 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/3.033, allocations: 105.5 kB / 1.367 GB, free: 85.15 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005708/3.039, allocations: 3.092 MB / 1.37 GB, free: 85.1 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/3.044, allocations: 1.58 MB / 1.372 GB, free: 85.1 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00706/3.051, allocations: 6.46 MB / 1.378 GB, free: 83.46 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/3.056, allocations: 1.065 MB / 1.379 GB, free: 83.05 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008844/3.057, allocations: 376.7 kB / 1.38 GB, free: 83.05 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 799 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.009687/3.067, allocations: 5.382 MB / 1.385 GB, free: 82.88 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/3.068, allocations: 0.4926 MB / 1.385 GB, free: 82.61 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/3.081, allocations: 9.628 MB / 1.395 GB, free: 82.33 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/3.082, allocations: 48.69 kB / 1.395 GB, free: 82.33 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/3.082, allocations: 0 / 1.395 GB, free: 82.33 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.079e-05/3.082, allocations: 36.88 kB / 1.395 GB, free: 82.33 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0353/3.117, allocations: 20.75 MB / 1.415 GB, free: 81.49 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/3.117, allocations: 0 / 1.415 GB, free: 81.49 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/3.12, allocations: 0.7326 MB / 1.416 GB, free: 81.49 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00573/3.126, allocations: 2.96 MB / 1.419 GB, free: 81.43 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003822/3.126, allocations: 102.6 kB / 1.419 GB, free: 81.43 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/3.133, allocations: 6.267 MB / 1.425 GB, free: 79.76 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/3.133, allocations: 11.33 kB / 1.425 GB, free: 79.75 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/3.15, allocations: 14.16 MB / 1.439 GB, free: 77.52 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003812/3.154, allocations: 1.4 MB / 1.44 GB, free: 76.78 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/3.156, allocations: 80.34 kB / 1.44 GB, free: 76.71 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/3.159, allocations: 390.5 kB / 1.441 GB, free: 76.64 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/3.16, allocations: 316.8 kB / 1.441 GB, free: 76.6 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003812/3.16, allocations: 127.5 kB / 1.441 GB, free: 76.57 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.006449/3.167, allocations: 3.403 MB / 1.444 GB, free: 75.4 MB / 0.5887 GB Notification: Performance of sort global known variables: time 7.31e-07/3.167, allocations: 0 / 1.444 GB, free: 75.4 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.009784/3.177, allocations: 3.193 MB / 1.447 GB, free: 74.39 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008493/3.177, allocations: 275.7 kB / 1.448 GB, free: 74.23 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01486/3.192, allocations: 10.11 MB / 1.458 GB, free: 71.07 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/3.192, allocations: 3.812 kB / 1.458 GB, free: 71.07 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.007198/3.199, allocations: 4.728 MB / 1.462 GB, free: 69.46 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/3.205, allocations: 1.153 MB / 1.463 GB, free: 69.15 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/3.255, allocations: 29.74 MB / 1.492 GB, free: 44.56 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01345/3.269, allocations: 9.246 MB / 1.501 GB, free: 37.61 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.007255/3.276, allocations: 2.849 MB / 1.504 GB, free: 35.79 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/3.277, allocations: 367.1 kB / 1.505 GB, free: 35.45 MB / 0.5887 GB Notification: Performance of SimCode: time 9.31e-07/3.277, allocations: 0 / 1.505 GB, free: 35.45 MB / 0.5887 GB Notification: Performance of Templates: time 0.436/3.713, allocations: 91.12 MB / 1.594 GB, free: 67.84 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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=ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.c In file included from ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_model.h:24: ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_functions.h:318: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); ^ 2 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.o] Error 1