Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009863/0.0009864, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.25/1.25, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008802/0.00088, allocations: 98.69 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002329, allocations: 11.94 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2055, allocations: 50.4 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09696/0.3025, allocations: 89.42 MB / 490.9 MB, free: 7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.3028, allocations: 87.95 kB / 491 MB, free: 6.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4015/0.7043, allocations: 135.7 MB / 0.612 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7044, allocations: 0 / 0.612 GB, free: 14.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001386/0.7045, allocations: 87.88 kB / 0.6121 GB, free: 14.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01047/0.715, allocations: 3.798 MB / 0.6158 GB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7151, allocations: 12.03 kB / 0.6158 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.7204, allocations: 0.9517 MB / 0.6167 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005461/0.7259, allocations: 2.423 MB / 0.6191 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/0.7262, allocations: 295.9 kB / 0.6194 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.7269, allocations: 384 kB / 0.6197 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009886/0.7368, allocations: 5.88 MB / 0.6255 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.7369, allocations: 7.906 kB / 0.6255 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.7373, allocations: 172 kB / 0.6256 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.7376, allocations: 272.5 kB / 0.6259 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007475/0.7451, allocations: 4.34 MB / 0.6301 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02685/0.772, allocations: 18.64 MB / 0.6483 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00439/0.7764, allocations: 3.904 MB / 0.6522 GB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.7766, allocations: 106.1 kB / 0.6523 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.7766, allocations: 43.56 kB / 0.6523 GB, free: 3.477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.166e-06/0.7766, allocations: 3.938 kB / 0.6523 GB, free: 3.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.002761/0.7794, allocations: 1.971 MB / 0.6542 GB, free: 1.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.7795, allocations: 64.41 kB / 0.6543 GB, free: 1.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.7812, allocations: 1.203 MB / 0.6555 GB, free: 136 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.7813, allocations: 41.7 kB / 0.6555 GB, free: 88 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.7823, allocations: 1.749 MB / 0.6572 GB, free: 14.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.7826, allocations: 382.7 kB / 0.6576 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.7827, allocations: 44 kB / 0.6576 GB, free: 13.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.7829, allocations: 443.1 kB / 0.658 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.7841, allocations: 0.8631 MB / 0.6589 GB, free: 12.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.7859, allocations: 1.859 MB / 0.6607 GB, free: 10.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.7876, allocations: 1.31 MB / 0.662 GB, free: 8.926 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.7876, allocations: 12 kB / 0.662 GB, free: 8.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003896/0.7915, allocations: 2.805 MB / 0.6647 GB, free: 6.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.7916, allocations: 20 kB / 0.6648 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.7916, allocations: 36 kB / 0.6648 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.939e-05/0.7917, allocations: 52 kB / 0.6648 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.7933, allocations: 0.5264 MB / 0.6654 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.457e-05/0.7934, allocations: 67.72 kB / 0.6654 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.7947, allocations: 289.4 kB / 0.6657 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.7948, allocations: 119.9 kB / 0.6658 GB, free: 5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002456/0.7973, allocations: 1.484 MB / 0.6673 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.7975, allocations: 122.4 kB / 0.6674 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.7998, allocations: 1.544 MB / 0.6689 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001436/0.8013, allocations: 1.115 MB / 0.67 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.8013, allocations: 4 kB / 0.67 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.8013, allocations: 3.984 kB / 0.67 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.259/1.06, allocations: 12.46 MB / 0.6821 GB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/1.06, allocations: 24.41 kB / 0.6822 GB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.062, allocations: 225.8 kB / 0.6824 GB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.412e-05/1.062, allocations: 30.03 kB / 0.6824 GB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.062, allocations: 54.42 kB / 0.6825 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-05/1.062, allocations: 36.61 kB / 0.6825 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.323e-05/1.062, allocations: 34.88 kB / 0.6825 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/1.066, allocations: 3.931 MB / 0.6864 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/1.067, allocations: 241.1 kB / 0.6866 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/1.067, allocations: 55.33 kB / 0.6867 GB, free: 91.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.068, allocations: 72.28 kB / 0.6867 GB, free: 91.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/1.069, allocations: 141.5 kB / 0.6869 GB, free: 91.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.069, allocations: 63.08 kB / 0.6869 GB, free: 91.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001671/1.071, allocations: 0.8954 MB / 0.6878 GB, free: 91.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.071, allocations: 0 / 0.6878 GB, free: 91.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003654/1.074, allocations: 0.8866 MB / 0.6887 GB, free: 91.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor31.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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004788/1.075, allocations: 234.2 kB / 0.6889 GB, free: 91.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003744/1.079, allocations: 1.947 MB / 0.6908 GB, free: 91.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.079, allocations: 3.625 kB / 0.6908 GB, free: 91.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.08, allocations: 0.6683 MB / 0.6914 GB, free: 91.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.082, allocations: 311 kB / 0.6917 GB, free: 91.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.096, allocations: 7.768 MB / 0.6993 GB, free: 87.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/1.099, allocations: 2.87 MB / 0.7021 GB, free: 86.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003066/1.102, allocations: 0.7669 MB / 0.7029 GB, free: 86.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/1.103, allocations: 106.9 kB / 0.703 GB, free: 86.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.103, allocations: 0 / 0.703 GB, free: 86.68 MB / 442.7 MB Notification: Performance of Templates: time 0.04256/1.145, allocations: 16.3 MB / 0.7189 GB, free: 85.8 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_model.h:24: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:273: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); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:282: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); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24currentSensor12_24i' _omcQComplexOutput_24currentSensor12_24i omc__omcQComplexOutput_24currentSensor12_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24currentSensor23_24i' _omcQComplexOutput_24currentSensor23_24i omc__omcQComplexOutput_24currentSensor23_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensor31_24i' _omcQComplexOutput_24currentSensor31_24i omc__omcQComplexOutput_24currentSensor31_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:318:1: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 6 errors generated. make: *** [: Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o] Error 1