Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.242/1.242, allocations: 223.2 MB / 241 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.0008954/0.0008954, allocations: 86.48 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3257/0.3257, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4113, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.574, allocations: 115.9 MB / 0.6228 GB, free: 11.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.5744, allocations: 99.92 kB / 0.6229 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365/2.939, allocations: 469.9 MB / 1.082 GB, free: 40.36 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.717e-06/2.939, allocations: 2.781 kB / 1.082 GB, free: 40.36 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0009843/2.94, allocations: 300.5 kB / 1.082 GB, free: 40.36 MB / 0.5262 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.06558/3.006, allocations: 13.94 MB / 1.096 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/3.006, allocations: 9.531 kB / 1.096 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04294/3.049, allocations: 7.909 MB / 1.103 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03097/3.08, allocations: 9.086 MB / 1.112 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/3.082, allocations: 0.9927 MB / 1.113 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00705/3.089, allocations: 1.284 MB / 1.114 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07942/3.168, allocations: 23.25 MB / 1.137 GB, free: 33.47 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008816/3.169, allocations: 16.69 kB / 1.137 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006822/3.176, allocations: 0.5594 MB / 1.138 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001646/3.178, allocations: 1.019 MB / 1.139 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04872/3.226, allocations: 20.02 MB / 1.158 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1601/3.386, allocations: 72.19 MB / 1.229 GB, free: 1.734 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03227/3.419, allocations: 28.77 MB / 1.257 GB, free: 7.426 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04783/3.467, allocations: 15.8 MB / 1.272 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/3.467, allocations: 86.05 kB / 1.272 GB, free: 10.39 MB / 0.573 GB Notification: Performance of pre-optimization done (n=465): time 1.195e-05/3.467, allocations: 0 / 1.272 GB, free: 10.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=465): time 0.5025/3.969, allocations: 16.08 MB / 1.288 GB, free: 86.82 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/3.969, allocations: 124.5 kB / 1.288 GB, free: 86.73 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009793/3.979, allocations: 4.556 MB / 1.293 GB, free: 86.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/3.981, allocations: 98.55 kB / 1.293 GB, free: 86.43 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004509/3.985, allocations: 5.857 MB / 1.298 GB, free: 84.38 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002729/3.988, allocations: 1.579 MB / 1.3 GB, free: 83.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006999/3.989, allocations: 150.8 kB / 1.3 GB, free: 83.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004659/3.989, allocations: 0.6102 MB / 1.301 GB, free: 83.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007121/3.996, allocations: 4.119 MB / 1.305 GB, free: 83.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009756/4.006, allocations: 7.133 MB / 1.312 GB, free: 79.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009073/4.015, allocations: 5.563 MB / 1.317 GB, free: 79.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001558/4.015, allocations: 29.59 kB / 1.317 GB, free: 79.33 MB / 0.573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03228/4.048, allocations: 13.01 MB / 1.33 GB, free: 78.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/4.048, allocations: 60.67 kB / 1.33 GB, free: 78.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004184/4.048, allocations: 100.3 kB / 1.33 GB, free: 78.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/4.059, allocations: 3.099 MB / 1.333 GB, free: 78.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007727/4.067, allocations: 1.575 MB / 1.335 GB, free: 78.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/4.076, allocations: 6.458 MB / 1.341 GB, free: 77.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008855/4.085, allocations: 1.058 MB / 1.342 GB, free: 76.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/4.087, allocations: 375 kB / 1.342 GB, free: 76.77 MB / 0.573 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.01723/4.104, allocations: 5.383 MB / 1.348 GB, free: 76.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002865/4.107, allocations: 0.495 MB / 1.348 GB, free: 76.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/4.127, allocations: 9.641 MB / 1.357 GB, free: 76.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/4.127, allocations: 45.97 kB / 1.358 GB, free: 76.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/4.127, allocations: 3.188 kB / 1.358 GB, free: 76.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.604e-05/4.128, allocations: 27.56 kB / 1.358 GB, free: 76.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04751/4.175, allocations: 20.76 MB / 1.378 GB, free: 75.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/4.175, allocations: 0 / 1.378 GB, free: 75.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/4.179, allocations: 0.7445 MB / 1.379 GB, free: 75.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005853/4.184, allocations: 2.962 MB / 1.381 GB, free: 75.13 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008089/4.185, allocations: 101.1 kB / 1.382 GB, free: 75.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/4.192, allocations: 6.251 MB / 1.388 GB, free: 72.83 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/4.192, allocations: 0 / 1.388 GB, free: 72.83 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/4.213, allocations: 14.18 MB / 1.401 GB, free: 67.22 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004924/4.218, allocations: 1.401 MB / 1.403 GB, free: 66.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/4.22, allocations: 78.22 kB / 1.403 GB, free: 66.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004547/4.225, allocations: 396.5 kB / 1.403 GB, free: 66.35 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/4.226, allocations: 310.2 kB / 1.404 GB, free: 66.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007466/4.227, allocations: 131.9 kB / 1.404 GB, free: 66.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007832/4.234, allocations: 3.401 MB / 1.407 GB, free: 65.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/4.235, allocations: 0 / 1.407 GB, free: 65.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01656/4.251, allocations: 3.192 MB / 1.41 GB, free: 64.09 MB / 0.573 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.002098/4.253, allocations: 268 kB / 1.41 GB, free: 63.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02119/4.274, allocations: 10.11 MB / 1.42 GB, free: 60.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/4.275, allocations: 0 / 1.42 GB, free: 60.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/4.285, allocations: 4.72 MB / 1.425 GB, free: 57.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007671/4.293, allocations: 1.164 MB / 1.426 GB, free: 56.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06511/4.358, allocations: 29.46 MB / 1.455 GB, free: 30.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0249/4.383, allocations: 9.251 MB / 1.464 GB, free: 23.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01136/4.394, allocations: 2.847 MB / 1.467 GB, free: 21.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/4.397, allocations: 368.4 kB / 1.467 GB, free: 21.18 MB / 0.573 GB Notification: Performance of SimCode: time 3.186e-06/4.397, allocations: 0 / 1.467 GB, free: 21.18 MB / 0.573 GB Notification: Performance of Templates: time 0.5572/4.954, allocations: 91.73 MB / 1.557 GB, free: 67.61 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile make -j1 -f ModelicaTest_4.0.0_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_4_0_0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.o ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.c In file included from ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.c:7: In file included from ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_model.h:24: ./ModelicaTest_4.0.0_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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.o] Error 1