Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 204.3 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 245.4 MB, free: 6.535 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007562/0.0007563, allocations: 97.23 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002166/0.0002167, allocations: 4 kB / 358.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2159, allocations: 51.3 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3164, allocations: 90.28 MB / 499.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.3166, allocations: 84.98 kB / 499.7 MB, free: 1.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.393/0.7096, allocations: 142.7 MB / 0.6273 GB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7096, allocations: 0 / 0.6273 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.7098, allocations: 83.94 kB / 0.6274 GB, free: 13.64 MB / 410.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.01091/0.7207, allocations: 3.794 MB / 0.6311 GB, free: 9.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7208, allocations: 8.031 kB / 0.6311 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.7261, allocations: 0.9566 MB / 0.6321 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.7305, allocations: 2.455 MB / 0.6345 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.7307, allocations: 304.9 kB / 0.6348 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/0.7313, allocations: 380 kB / 0.6351 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00884/0.7401, allocations: 5.915 MB / 0.6409 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.522e-05/0.7402, allocations: 7.906 kB / 0.6409 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.7406, allocations: 164 kB / 0.6411 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/0.7408, allocations: 276.4 kB / 0.6413 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006787/0.7476, allocations: 4.336 MB / 0.6456 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.7702, allocations: 18.89 MB / 0.664 GB, free: 7.199 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.7744, allocations: 3.904 MB / 0.6678 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.7757, allocations: 0.8424 MB / 0.6686 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.7758, allocations: 195.2 kB / 0.6688 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.7759, allocations: 47.5 kB / 0.6689 GB, free: 1.703 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 2.855e-06/0.7759, allocations: 0 / 0.6689 GB, free: 1.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.002346/0.7782, allocations: 1.631 MB / 0.6705 GB, free: 64 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1809/0.9592, allocations: 62.27 kB / 0.6705 GB, free: 91.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.9614, allocations: 1.324 MB / 0.6718 GB, free: 91.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.9615, allocations: 41.86 kB / 0.6719 GB, free: 91.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/0.9623, allocations: 1.749 MB / 0.6736 GB, free: 90.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.9625, allocations: 382.1 kB / 0.6739 GB, free: 90.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.9626, allocations: 44.62 kB / 0.674 GB, free: 90.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9628, allocations: 445.3 kB / 0.6744 GB, free: 89.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.9638, allocations: 0.856 MB / 0.6752 GB, free: 89.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.9651, allocations: 1.867 MB / 0.6771 GB, free: 88.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.9677, allocations: 2.864 MB / 0.6799 GB, free: 87.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.9677, allocations: 7.344 kB / 0.6799 GB, free: 87.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003477/0.9712, allocations: 2.799 MB / 0.6826 GB, free: 87.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.9712, allocations: 23.41 kB / 0.6826 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/0.9713, allocations: 34.31 kB / 0.6827 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.128e-05/0.9713, allocations: 47.56 kB / 0.6827 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.9729, allocations: 0.5309 MB / 0.6832 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.543e-05/0.9729, allocations: 75.73 kB / 0.6833 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.9742, allocations: 292.8 kB / 0.6836 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.9743, allocations: 115.1 kB / 0.6837 GB, free: 87.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * 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.001961/0.9763, allocations: 1.479 MB / 0.6851 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.9765, allocations: 127.5 kB / 0.6852 GB, free: 87.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.9785, allocations: 1.525 MB / 0.6867 GB, free: 87.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001503/0.98, allocations: 1.096 MB / 0.6878 GB, free: 86.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.98, allocations: 5.406 kB / 0.6878 GB, free: 86.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.9801, allocations: 7.5 kB / 0.6878 GB, free: 86.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.9941, allocations: 13.62 MB / 0.7011 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.9941, allocations: 18.72 kB / 0.7011 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.9949, allocations: 233.3 kB / 0.7014 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.9949, allocations: 25.53 kB / 0.7014 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.995, allocations: 50.95 kB / 0.7014 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/0.995, allocations: 37.58 kB / 0.7015 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/0.995, allocations: 34.16 kB / 0.7015 GB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.9977, allocations: 2.773 MB / 0.7042 GB, free: 81.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.998, allocations: 238 kB / 0.7044 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.9982, allocations: 52.27 kB / 0.7045 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.9988, allocations: 71.11 kB / 0.7046 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.999, allocations: 147.8 kB / 0.7047 GB, free: 81.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.9991, allocations: 60.91 kB / 0.7048 GB, free: 81.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001036/1, allocations: 0.8934 MB / 0.7056 GB, free: 81.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1, allocations: 0 / 0.7056 GB, free: 81.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002346/1.002, allocations: 0.882 MB / 0.7065 GB, free: 80.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * 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.0003541/1.003, allocations: 232.8 kB / 0.7067 GB, free: 80.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002442/1.005, allocations: 1.934 MB / 0.7086 GB, free: 80.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.005, allocations: 7.812 kB / 0.7086 GB, free: 80.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/1.006, allocations: 0.6654 MB / 0.7093 GB, free: 80.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/1.011, allocations: 338.2 kB / 0.7096 GB, free: 80.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/1.019, allocations: 7.783 MB / 0.7172 GB, free: 76.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/1.021, allocations: 2.81 MB / 0.7199 GB, free: 75.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001753/1.023, allocations: 0.7675 MB / 0.7207 GB, free: 75.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.023, allocations: 109.7 kB / 0.7208 GB, free: 75.62 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/1.023, allocations: 0 / 0.7208 GB, free: 75.62 MB / 442.7 MB Notification: Performance of Templates: time 0.02471/1.048, allocations: 16.3 MB / 0.7367 GB, free: 74.75 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_model.h:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:259: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:268: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:277: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:286: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:295: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:304: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o] Error 1