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.00101/0.00101, allocations: 182.6 kB / 18.09 MB, free: 3.625 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.32/1.32, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007742/0.0007742, allocations: 99.88 kB / 293.3 MB, free: 10.77 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.3138/0.3138, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003965, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3737, allocations: 61.88 MB / 0.5107 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.5169, allocations: 116 MB / 0.6241 GB, free: 10.97 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5172, allocations: 87.94 kB / 0.6241 GB, free: 10.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204/2.721, allocations: 468.5 MB / 1.082 GB, free: 39.67 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.194e-06/2.721, allocations: 0 / 1.082 GB, free: 39.67 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001277/2.723, allocations: 298.2 kB / 1.082 GB, free: 39.67 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.07992/2.803, allocations: 13.8 MB / 1.095 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/2.803, allocations: 10.34 kB / 1.095 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05268/2.855, allocations: 7.912 MB / 1.103 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02611/2.882, allocations: 9.206 MB / 1.112 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001626/2.883, allocations: 0.9894 MB / 1.113 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007/2.89, allocations: 1.29 MB / 1.114 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07093/2.961, allocations: 23.36 MB / 1.137 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006445/2.962, allocations: 15.12 kB / 1.137 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005688/2.968, allocations: 0.5616 MB / 1.138 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/2.969, allocations: 1.027 MB / 1.139 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05171/3.021, allocations: 20.01 MB / 1.158 GB, free: 32.53 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/3.182, allocations: 72.22 MB / 1.229 GB, free: 1.035 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03209/3.214, allocations: 28.76 MB / 1.257 GB, free: 7.121 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01027/3.225, allocations: 4.952 MB / 1.262 GB, free: 2.906 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04193/3.267, allocations: 15.81 MB / 1.277 GB, free: 6.043 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/3.267, allocations: 86.05 kB / 1.277 GB, free: 5.949 MB / 0.573 GB Notification: Performance of pre-optimization done (n=465): time 8.926e-06/3.267, allocations: 3.281 kB / 1.277 GB, free: 5.949 MB / 0.573 GB Notification: Performance of matching and sorting (n=465): time 0.4773/3.744, allocations: 16.14 MB / 1.293 GB, free: 85.47 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/3.744, allocations: 124.5 kB / 1.293 GB, free: 85.38 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/3.755, allocations: 5.082 MB / 1.298 GB, free: 85.08 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001468/3.756, allocations: 98.08 kB / 1.298 GB, free: 85.05 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004235/3.76, allocations: 5.861 MB / 1.304 GB, free: 82.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002864/3.763, allocations: 1.58 MB / 1.305 GB, free: 81.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008181/3.764, allocations: 147.8 kB / 1.306 GB, free: 81.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000644/3.765, allocations: 0.6119 MB / 1.306 GB, free: 81.54 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006887/3.772, allocations: 4.124 MB / 1.31 GB, free: 81.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008198/3.78, allocations: 7.161 MB / 1.317 GB, free: 77.83 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/3.796, allocations: 11.82 MB / 1.329 GB, free: 73.98 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002792/3.796, allocations: 29.03 kB / 1.329 GB, free: 73.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02854/3.825, allocations: 13.01 MB / 1.342 GB, free: 73.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003221/3.825, allocations: 52.38 kB / 1.342 GB, free: 73.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003856/3.826, allocations: 99.12 kB / 1.342 GB, free: 73.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006935/3.833, allocations: 3.086 MB / 1.345 GB, free: 73.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/3.839, allocations: 1.586 MB / 1.346 GB, free: 73.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008696/3.848, allocations: 6.456 MB / 1.353 GB, free: 71.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007907/3.856, allocations: 1.066 MB / 1.354 GB, free: 71.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/3.858, allocations: 374.7 kB / 1.354 GB, free: 71.28 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.01332/3.871, allocations: 5.374 MB / 1.359 GB, free: 71.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/3.873, allocations: 0.4986 MB / 1.36 GB, free: 70.83 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/3.893, allocations: 9.625 MB / 1.369 GB, free: 70.52 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-05/3.894, allocations: 45.22 kB / 1.369 GB, free: 70.52 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/3.894, allocations: 3.562 kB / 1.369 GB, free: 70.52 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/3.894, allocations: 28.64 kB / 1.369 GB, free: 70.52 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05202/3.946, allocations: 20.75 MB / 1.389 GB, free: 68.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/3.946, allocations: 0 / 1.389 GB, free: 68.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/3.949, allocations: 0.7372 MB / 1.39 GB, free: 68.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/3.956, allocations: 2.972 MB / 1.393 GB, free: 67.94 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/3.957, allocations: 102.4 kB / 1.393 GB, free: 67.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007899/3.965, allocations: 6.248 MB / 1.399 GB, free: 64.69 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/3.965, allocations: 9.875 kB / 1.399 GB, free: 64.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.028/3.993, allocations: 14.14 MB / 1.413 GB, free: 59.11 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004824/3.998, allocations: 1.395 MB / 1.414 GB, free: 58.37 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002548/4, allocations: 82.16 kB / 1.414 GB, free: 58.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004788/4.005, allocations: 385.8 kB / 1.415 GB, free: 58.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001482/4.006, allocations: 321.9 kB / 1.415 GB, free: 58.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009553/4.007, allocations: 127.4 kB / 1.415 GB, free: 58.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00773/4.015, allocations: 3.395 MB / 1.419 GB, free: 57 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.81e-07/4.015, allocations: 0 / 1.419 GB, free: 57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01292/4.028, allocations: 3.193 MB / 1.422 GB, free: 55.98 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.001709/4.03, allocations: 268.9 kB / 1.422 GB, free: 55.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01925/4.049, allocations: 10.12 MB / 1.432 GB, free: 49.44 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/4.049, allocations: 3.656 kB / 1.432 GB, free: 49.44 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01012/4.059, allocations: 4.722 MB / 1.436 GB, free: 45.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/4.072, allocations: 1.206 MB / 1.438 GB, free: 44.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06759/4.14, allocations: 28.78 MB / 1.466 GB, free: 18.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02169/4.162, allocations: 9.035 MB / 1.475 GB, free: 11.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01055/4.172, allocations: 2.85 MB / 1.477 GB, free: 9.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/4.175, allocations: 367.6 kB / 1.478 GB, free: 9.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.232e-06/4.175, allocations: 0 / 1.478 GB, free: 9.32 MB / 0.573 GB Notification: Performance of Templates: time 0.5423/4.717, allocations: 91.8 MB / 1.567 GB, free: 65.09 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 -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_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:26: ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_functions.h:291: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:300: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