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.001547/0.001547, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.5 MB / 245.4 MB, free: 8.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00075/0.0007499, allocations: 103.4 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002123/0.0002124, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3058, allocations: 90.41 MB / 499.8 MB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.3061, allocations: 92.39 kB / 499.9 MB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8595/1.166, allocations: 219.1 MB / 0.7021 GB, free: 68.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.166, allocations: 0 / 0.7021 GB, free: 68.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003128/1.166, allocations: 136.7 kB / 0.7023 GB, free: 68.82 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.01918/1.185, allocations: 6.038 MB / 0.7082 GB, free: 66.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.185, allocations: 7.812 kB / 0.7082 GB, free: 66.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/1.197, allocations: 2.094 MB / 0.7102 GB, free: 66.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008833/1.206, allocations: 3.885 MB / 0.714 GB, free: 66.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/1.207, allocations: 455.2 kB / 0.7144 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/1.209, allocations: 0.5826 MB / 0.715 GB, free: 66.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/1.229, allocations: 9.245 MB / 0.724 GB, free: 65.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/1.229, allocations: 7.844 kB / 0.724 GB, free: 65.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/1.231, allocations: 257 kB / 0.7243 GB, free: 65.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00043/1.231, allocations: 462 kB / 0.7247 GB, free: 65.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/1.244, allocations: 7.268 MB / 0.7318 GB, free: 65.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/1.282, allocations: 29.16 MB / 0.7603 GB, free: 50.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007869/1.29, allocations: 11.75 MB / 0.7718 GB, free: 40.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/1.293, allocations: 1.665 MB / 0.7734 GB, free: 39.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/1.293, allocations: 218.2 kB / 0.7736 GB, free: 39.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.293, allocations: 56.28 kB / 0.7737 GB, free: 39.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.088e-06/1.293, allocations: 0 / 0.7737 GB, free: 39.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.006456/1.299, allocations: 4.364 MB / 0.7779 GB, free: 36.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.299, allocations: 103.1 kB / 0.778 GB, free: 36.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.302, allocations: 1.881 MB / 0.7799 GB, free: 34.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/1.302, allocations: 65.7 kB / 0.7799 GB, free: 34.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008907/1.303, allocations: 2.526 MB / 0.7824 GB, free: 32.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/1.303, allocations: 0.8536 MB / 0.7832 GB, free: 31.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.303, allocations: 72 kB / 0.7833 GB, free: 31.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/1.303, allocations: 447.7 kB / 0.7837 GB, free: 31.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/1.305, allocations: 1.449 MB / 0.7851 GB, free: 29.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/1.307, allocations: 2.644 MB / 0.7877 GB, free: 27.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/1.311, allocations: 4.336 MB / 0.7919 GB, free: 22.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/1.311, allocations: 12 kB / 0.792 GB, free: 22.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005624/1.317, allocations: 4.615 MB / 0.7965 GB, free: 18.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/1.317, allocations: 22.86 kB / 0.7965 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/1.317, allocations: 40 kB / 0.7965 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/1.318, allocations: 311.4 kB / 0.7968 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/1.32, allocations: 0.7791 MB / 0.7976 GB, free: 17.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/1.324, allocations: 4.637 MB / 0.8021 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.326, allocations: 412.4 kB / 0.8025 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/1.326, allocations: 170.1 kB / 0.8027 GB, free: 12.32 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.003161/1.329, allocations: 2.187 MB / 0.8048 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/1.33, allocations: 217.3 kB / 0.805 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.334, allocations: 3.307 MB / 0.8082 GB, free: 7.465 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/1.334, allocations: 28 kB / 0.8083 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.334, allocations: 4 kB / 0.8083 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/1.334, allocations: 11.95 kB / 0.8083 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.35, allocations: 12.78 MB / 0.8208 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.35, allocations: 12 kB / 0.8208 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.351, allocations: 441.1 kB / 0.8212 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000644/1.352, allocations: 287.5 kB / 0.8215 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.352, allocations: 71.42 kB / 0.8215 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/1.356, allocations: 4.541 MB / 0.826 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/1.357, allocations: 27.81 kB / 0.826 GB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/1.363, allocations: 5.22 MB / 0.8311 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/1.364, allocations: 333.6 kB / 0.8314 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/1.364, allocations: 63.89 kB / 0.8315 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.365, allocations: 126.7 kB / 0.8316 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/1.366, allocations: 211.2 kB / 0.8318 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.366, allocations: 87.38 kB / 0.8319 GB, free: 1.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001848/1.368, allocations: 1.278 MB / 0.8331 GB, free: 168 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.368, allocations: 4 kB / 0.8331 GB, free: 164 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.006678/1.374, allocations: 1.669 MB / 0.8348 GB, free: 15.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (232): * Single equations (assignments): 224 * 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.0005686/1.375, allocations: 252.2 kB / 0.835 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005776/1.381, allocations: 3.748 MB / 0.8387 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.381, allocations: 4 kB / 0.8387 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/1.383, allocations: 1.764 MB / 0.8404 GB, free: 9.594 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/1.389, allocations: 0.498 MB / 0.8409 GB, free: 9.117 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2498/1.638, allocations: 12.14 MB / 0.8527 GB, free: 89.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004723/1.643, allocations: 4.002 MB / 0.8566 GB, free: 88.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003753/1.647, allocations: 1.213 MB / 0.8578 GB, free: 88.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/1.648, allocations: 188.6 kB / 0.858 GB, free: 88.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.753e-06/1.648, allocations: 0 / 0.858 GB, free: 88.5 MB / 474.7 MB Notification: Performance of Templates: time 0.05246/1.7, allocations: 30.19 MB / 0.8875 GB, free: 87.3 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 -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=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:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:259: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:268: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:277: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:286: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:295: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:304: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