Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, 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.219/1.219, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008845/0.0008846, allocations: 105.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.0002211, allocations: 4 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1988, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09735/0.2962, allocations: 90.43 MB / 499.9 MB, free: 160 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.2965, allocations: 83.95 kB / 499.9 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7284/1.025, allocations: 221.1 MB / 0.7042 GB, free: 69.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.025, allocations: 0 / 0.7042 GB, free: 69.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002446/1.025, allocations: 131.7 kB / 0.7043 GB, free: 69.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.0166/1.042, allocations: 6.101 MB / 0.7103 GB, free: 67.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.042, allocations: 10.45 kB / 0.7103 GB, free: 67.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/1.054, allocations: 2.095 MB / 0.7123 GB, free: 67.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008907/1.063, allocations: 3.837 MB / 0.7161 GB, free: 67.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/1.063, allocations: 459.7 kB / 0.7165 GB, free: 67.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/1.065, allocations: 0.5844 MB / 0.7171 GB, free: 67.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/1.086, allocations: 9.196 MB / 0.7261 GB, free: 66.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/1.086, allocations: 10.42 kB / 0.7261 GB, free: 66.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/1.088, allocations: 259.3 kB / 0.7263 GB, free: 66.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004806/1.088, allocations: 458.7 kB / 0.7267 GB, free: 66.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/1.102, allocations: 7.265 MB / 0.7338 GB, free: 66.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03936/1.141, allocations: 29.14 MB / 0.7623 GB, free: 50.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007574/1.149, allocations: 11.75 MB / 0.7738 GB, free: 39.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/1.149, allocations: 220 kB / 0.774 GB, free: 39.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.149, allocations: 64.5 kB / 0.774 GB, free: 39.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.609e-06/1.149, allocations: 0 / 0.774 GB, free: 39.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.00644/1.155, allocations: 4.799 MB / 0.7787 GB, free: 34.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.156, allocations: 103.1 kB / 0.7788 GB, free: 34.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/1.158, allocations: 1.692 MB / 0.7805 GB, free: 33.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/1.158, allocations: 61.7 kB / 0.7805 GB, free: 33.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009035/1.159, allocations: 2.526 MB / 0.783 GB, free: 30.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/1.159, allocations: 0.8464 MB / 0.7838 GB, free: 30.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/1.159, allocations: 72 kB / 0.7839 GB, free: 30.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/1.16, allocations: 453.9 kB / 0.7843 GB, free: 29.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/1.161, allocations: 1.447 MB / 0.7857 GB, free: 28.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/1.163, allocations: 2.637 MB / 0.7883 GB, free: 25.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/1.165, allocations: 2.059 MB / 0.7903 GB, free: 23.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/1.166, allocations: 12 kB / 0.7903 GB, free: 23.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005338/1.171, allocations: 4.618 MB / 0.7948 GB, free: 19.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.171, allocations: 20 kB / 0.7949 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-05/1.171, allocations: 40 kB / 0.7949 GB, free: 19.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/1.172, allocations: 315.1 kB / 0.7952 GB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.174, allocations: 0.7842 MB / 0.796 GB, free: 18.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/1.178, allocations: 4.692 MB / 0.8006 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/1.18, allocations: 414 kB / 0.8009 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.18, allocations: 170.7 kB / 0.8011 GB, free: 13.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003133/1.183, allocations: 2.185 MB / 0.8032 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/1.184, allocations: 209.4 kB / 0.8034 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/1.188, allocations: 3.332 MB / 0.8067 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.188, allocations: 32 kB / 0.8067 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.188, allocations: 4 kB / 0.8067 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.188, allocations: 14.91 kB / 0.8067 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.204, allocations: 12.63 MB / 0.8191 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/1.204, allocations: 16 kB / 0.8191 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.206, allocations: 437.1 kB / 0.8195 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006422/1.206, allocations: 274.4 kB / 0.8198 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/1.206, allocations: 71.55 kB / 0.8198 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/1.211, allocations: 4.615 MB / 0.8243 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.211, allocations: 19.94 kB / 0.8244 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/1.219, allocations: 6.053 MB / 0.8303 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/1.219, allocations: 337.3 kB / 0.8306 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/1.22, allocations: 59.94 kB / 0.8307 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.221, allocations: 132.5 kB / 0.8308 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.221, allocations: 197.3 kB / 0.831 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.222, allocations: 87.89 kB / 0.8311 GB, free: 1.242 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00196/1.224, allocations: 1.279 MB / 0.8323 GB, free: 15.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.224, allocations: 0 / 0.8323 GB, free: 15.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003769/1.227, allocations: 1.461 MB / 0.8337 GB, free: 14.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.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 (230): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004466/1.228, allocations: 234 kB / 0.834 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005368/1.233, allocations: 3.749 MB / 0.8376 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.233, allocations: 4 kB / 0.8376 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.236, allocations: 1.756 MB / 0.8393 GB, free: 8.719 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.237, allocations: 465.4 kB / 0.8398 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2112/1.449, allocations: 12.1 MB / 0.8516 GB, free: 89.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004473/1.453, allocations: 4.108 MB / 0.8556 GB, free: 88.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002949/1.456, allocations: 1.209 MB / 0.8568 GB, free: 88.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/1.457, allocations: 184.8 kB / 0.857 GB, free: 88.42 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/1.457, allocations: 1.281 kB / 0.857 GB, free: 88.42 MB / 474.7 MB Notification: Performance of Templates: time 0.04333/1.5, allocations: 29.94 MB / 0.8862 GB, free: 87.17 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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=Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad -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 Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_model.h:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:273:1: error: unknown type name '_omcQComplexOutput_24currentSensor1_24currentSensor_24i' _omcQComplexOutput_24currentSensor1_24currentSensor_24i omc__omcQComplexOutput_24currentSensor1_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:282:1: error: unknown type name '_omcQComplexOutput_24currentSensor1_24i' _omcQComplexOutput_24currentSensor1_24i omc__omcQComplexOutput_24currentSensor1_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24currentSensor2_24currentSensor_24i' _omcQComplexOutput_24currentSensor2_24currentSensor_24i omc__omcQComplexOutput_24currentSensor2_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24currentSensor2_24i' _omcQComplexOutput_24currentSensor2_24i omc__omcQComplexOutput_24currentSensor2_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensorN_24i' _omcQComplexOutput_24currentSensorN_24i omc__omcQComplexOutput_24currentSensorN_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:318:1: error: unknown type name '_omcQComplexOutput_24voltageSensorN_24v' _omcQComplexOutput_24voltageSensorN_24v omc__omcQComplexOutput_24voltageSensorN_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 6 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.o] Error 1