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.001074/0.001074, allocations: 197.2 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.412/1.412, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007864/0.0007865, allocations: 100.5 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4329/0.4329, allocations: 44.81 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003291, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4122, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5749, allocations: 117 MB / 0.6327 GB, free: 4.246 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.5753, allocations: 91.94 kB / 0.6328 GB, free: 4.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.072/2.647, allocations: 493.3 MB / 1.114 GB, free: 64.51 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.895e-06/2.647, allocations: 0 / 1.114 GB, free: 64.51 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.001094/2.649, allocations: 297.6 kB / 1.115 GB, free: 64.49 MB / 0.5573 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.06317/2.712, allocations: 13.83 MB / 1.128 GB, free: 60.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/2.712, allocations: 11.88 kB / 1.128 GB, free: 60.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04523/2.757, allocations: 7.917 MB / 1.136 GB, free: 59.86 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02526/2.782, allocations: 9.206 MB / 1.145 GB, free: 58.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001517/2.784, allocations: 0.9913 MB / 1.146 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006592/2.791, allocations: 1.294 MB / 1.147 GB, free: 58.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07253/2.863, allocations: 23.35 MB / 1.17 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001018/2.864, allocations: 16.34 kB / 1.17 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007221/2.871, allocations: 0.5576 MB / 1.171 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001577/2.873, allocations: 1.028 MB / 1.172 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05235/2.925, allocations: 20.02 MB / 1.191 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1698/3.095, allocations: 73.2 MB / 1.263 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03682/3.132, allocations: 28.63 MB / 1.291 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5828/3.715, allocations: 5.547 MB / 1.296 GB, free: 79.21 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03842/3.754, allocations: 16.57 MB / 1.312 GB, free: 76.86 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.17e-05/3.754, allocations: 88.84 kB / 1.312 GB, free: 76.82 MB / 0.573 GB Notification: Performance of pre-optimization done (n=465): time 6.692e-06/3.754, allocations: 0 / 1.312 GB, free: 76.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=465): time 0.04183/3.796, allocations: 16.04 MB / 1.328 GB, free: 76.37 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/3.796, allocations: 127.2 kB / 1.328 GB, free: 76.27 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/3.807, allocations: 5.075 MB / 1.333 GB, free: 75.98 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001421/3.808, allocations: 101.7 kB / 1.333 GB, free: 75.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00661/3.815, allocations: 5.866 MB / 1.339 GB, free: 73.35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002995/3.818, allocations: 1.578 MB / 1.34 GB, free: 72.38 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009895/3.819, allocations: 146.9 kB / 1.341 GB, free: 72.38 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006217/3.819, allocations: 0.6164 MB / 1.341 GB, free: 72.05 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007254/3.827, allocations: 4.114 MB / 1.345 GB, free: 72.04 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/3.837, allocations: 7.165 MB / 1.352 GB, free: 68.32 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01777/3.855, allocations: 11.81 MB / 1.364 GB, free: 64.37 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/3.855, allocations: 34.38 kB / 1.364 GB, free: 64.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02945/3.884, allocations: 13.01 MB / 1.376 GB, free: 63.86 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000245/3.885, allocations: 51.69 kB / 1.376 GB, free: 63.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/3.885, allocations: 100.3 kB / 1.377 GB, free: 63.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007016/3.892, allocations: 3.09 MB / 1.38 GB, free: 63.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006884/3.899, allocations: 1.572 MB / 1.381 GB, free: 63.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009245/3.908, allocations: 6.464 MB / 1.387 GB, free: 62.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008705/3.917, allocations: 1.062 MB / 1.388 GB, free: 61.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/3.92, allocations: 374.3 kB / 1.389 GB, free: 61.67 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.01646/3.936, allocations: 5.386 MB / 1.394 GB, free: 61.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002379/3.939, allocations: 0.4964 MB / 1.395 GB, free: 61.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.021/3.96, allocations: 9.625 MB / 1.404 GB, free: 57.46 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/3.96, allocations: 49.53 kB / 1.404 GB, free: 57.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/3.96, allocations: 0 / 1.404 GB, free: 57.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/3.96, allocations: 21.84 kB / 1.404 GB, free: 57.46 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05633/4.016, allocations: 20.75 MB / 1.424 GB, free: 49.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/4.016, allocations: 0 / 1.424 GB, free: 49.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/4.02, allocations: 0.7383 MB / 1.425 GB, free: 49.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006427/4.026, allocations: 2.969 MB / 1.428 GB, free: 49.06 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/4.028, allocations: 97.69 kB / 1.428 GB, free: 49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008158/4.036, allocations: 6.262 MB / 1.434 GB, free: 45.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/4.036, allocations: 7.875 kB / 1.434 GB, free: 45.79 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02328/4.059, allocations: 14.14 MB / 1.448 GB, free: 37.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004838/4.064, allocations: 1.395 MB / 1.449 GB, free: 35.91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/4.066, allocations: 79.09 kB / 1.449 GB, free: 35.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004327/4.071, allocations: 395.3 kB / 1.45 GB, free: 35.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/4.072, allocations: 318.1 kB / 1.45 GB, free: 35.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005439/4.072, allocations: 129.1 kB / 1.45 GB, free: 35.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007557/4.08, allocations: 3.395 MB / 1.454 GB, free: 32.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.62e-07/4.08, allocations: 0 / 1.454 GB, free: 32.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01547/4.095, allocations: 3.203 MB / 1.457 GB, free: 29.3 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.002077/4.097, allocations: 276.3 kB / 1.457 GB, free: 29.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02183/4.119, allocations: 10.11 MB / 1.467 GB, free: 20.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/4.119, allocations: 0 / 1.467 GB, free: 20.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009966/4.129, allocations: 4.737 MB / 1.471 GB, free: 16.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/4.14, allocations: 1.213 MB / 1.473 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08962/4.23, allocations: 30.41 MB / 1.502 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4979/4.728, allocations: 9.927 MB / 1.512 GB, free: 79.97 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01216/4.74, allocations: 2.85 MB / 1.515 GB, free: 79.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002415/4.742, allocations: 372.8 kB / 1.515 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of SimCode: time 1.783e-06/4.743, allocations: 0 / 1.515 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of Templates: time 0.1813/4.924, allocations: 91.71 MB / 1.605 GB, free: 75 MB / 0.5886 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 -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_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:26: ./ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.o] Error 1